15,890,512 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 3892343 (Top 70 by date)
Member 3892343
16-Nov-20 10:01am
View
Ty
Member 3892343
19-May-17 13:18pm
View
ty
Member 3892343
19-May-17 11:43am
View
sorry, if I use an if then else statement or select case of checked checkbox I would need 55 'else' statements is there an easy way to do it?
Member 3892343
19-May-17 11:42am
View
Sorry how it can be done, if I use an if then else statement or select case of checked checkbox I would need 55 'else' statements is there an easy way to do it?
Member 3892343
23-Feb-17 1:33am
View
foumd an answer, it was geting 0 lenght of the file.
Member 3892343
22-Feb-17 1:55am
View
I didn't contact them yet, but is there any other Free component for pdf viewing without the need adobe reader to be installed?
Member 3892343
12-Jul-16 3:37am
View
OK works
Member 3892343
6-Mar-16 11:15am
View
sorry, First option link it statically in exe
Member 3892343
6-Mar-16 11:14am
View
Yes First option link it statically in existing EXE
Member 3892343
1-Mar-16 10:43am
View
maybe call assembly from c# and bios interrupts?
Member 3892343
1-Mar-16 10:42am
View
I though so too I told him there must be a client/Server Connection with similar Software etc. but is there any other way rather than WMI? to Access bios Info.
Member 3892343
30-Oct-15 15:45pm
View
sorry I thought in xml Line thank you sergey
Member 3892343
30-Oct-15 15:19pm
View
Dim updt = m_xmlr.GetAttribute("date").ElementAt(0)
Member 3892343
30-Oct-15 15:03pm
View
Line 4
Member 3892343
30-Oct-15 15:01pm
View
Line 4
Member 3892343
28-Oct-15 11:37am
View
ty
Member 3892343
26-Oct-15 14:52pm
View
Thank you
Member 3892343
24-Oct-15 12:39pm
View
Thank you I accept the solution any tutorial or link on how to, I know how to download the zip but how to create the zip from my computer with vb net in the http folder and downloaded, I have the access to the folder, or must the admin of the website to create the zip?
Member 3892343
20-Oct-15 2:36am
View
or any good ebook to read about pptp and vpn for VS?
Member 3892343
20-Oct-15 2:33am
View
Sorry I am NEW to vpn programming is there any good tutorial in VB net or C# 2010 and above to create a pptp cliend for Windows 7? rasdial code found it in another post.
Member 3892343
30-Jul-15 6:04am
View
use Express 4 gb limit i think, found some code to archive but don't have it here am at Office, nevertheless is there any code tutorial? this I found is not so clear.
Member 3892343
30-Jul-15 1:51am
View
It is storage issue I store and archiving text and photos in the database soon I will exceed the storage limit of SQL per database, I want to archive the records every 6 months (about 2 GB per 6 months) and recall them when needed, I have hear of olap technology but cant find any tutorial and I want to do it by vb or c# .Net
Member 3892343
16-Jul-15 4:13am
View
about last string remain from the loop I have more code and not a textbox, about .tostring you're right
Member 3892343
9-Jul-15 3:14am
View
maybe ve this code out of the loop?
Dim a As String
a = "INSERT INTO Table_1(id_2, name, mobile, date_send) VALUES (@id21, @name1, @mobile1, @date_send1)"
Dim myCommand = New SqlCommand(a, SqlConnection2)
Member 3892343
30-Jun-15 15:19pm
View
forgot it ado adapter dbrid etc. thank you, slap myself
Member 3892343
25-Jun-15 5:23am
View
and how do i pass parameters like form2?id=2&source=rpt
Member 3892343
21-Jun-15 11:00am
View
DataGridView1.Rows(i).Cells(1).Value
'Paremeter @column0 added - oh wait! it has already been added - ERROR!
done this:
cmd.Parameters.Add(DataGridView1.Rows(i)+1, SqlDbType.VarChar, 50).Value = DataGridView1.Rows(i).Cells(4).Value
cmd.Parameters.Add(DataGridView1.Rows(i)+2, SqlDbType.VarChar, 50).Value = DataGridView1.Rows(i).Cells(5).Value
Thank you
Member 3892343
21-Jun-15 10:58am
View
thank you originalgriff I will save to a usb flash stick
Member 3892343
20-Jun-15 15:57pm
View
sorry damithsl worked thank you!!!
Member 3892343
20-Jun-15 15:50pm
View
ok can I archive the database to USB stick and view it from there on the same machine (pc) as the SQL Server main database oe a diffetent pc and then remove the USB stick? What I eant is to have database archived as you said in a removable medium (dvd etc.) and can open it in an same version SQL Server indipendemtly? Thank you anyway for the guide.
Member 3892343
20-Jun-15 10:48am
View
so if I am right the 2 databases wil co exist in SQL Server? and I will open only the backup? or can I rename the backup database so to know which to open? that was my question to open the earlier database (backup) when I need it eg records of a period of months january to march backup from the original database delete the records of these month and add next period of months, I want to open the backup database (period january-march) and do changes or just view or print (with vb net), I ask because in regular operation SQL Server doesn't allow 2 same name databases.
Member 3892343
20-Jun-15 10:43am
View
I mean to reopen the restored database and the original exists but with inserted NEW records, eg database northwin 100 records, backup northwind 100 records, now database northwind 250 records, I want to restore and open with vb the northwind 100 records backup, is it possible only from code vb net?
Member 3892343
20-Jun-15 10:37am
View
ty
Member 3892343
19-Jun-15 6:29am
View
if i declare a string var eg a as string and put "+i.tostring+" and pass it as a to the webrequest.create(a) will it work?
Member 3892343
19-Jun-15 6:25am
View
I get error Error comma, ')', or a valid expression continuation expected.
<pre lang="vb"> href="http://cpanel"> here>http:<here a="" cpanel<="">.*. </pre> to the http of http://cpanel part
Member 3892343
11-Jun-15 2:51am
View
thank you.
Member 3892343
7-Jun-15 16:08pm
View
thank you
Member 3892343
5-Jun-15 5:54am
View
nothing yet I think I will add the records to Temporary data tables and compare them not too good with SQL queries but I will google it "select name from etc." to find something, if you know a query that do this comment it but I thing it will need 2 ado Connection strings, right?
Member 3892343
12-Apr-15 15:29pm
View
http://ultimatesocialwidgets.com/ the Facebook sidebar.
Member 3892343
12-Apr-15 13:52pm
View
http://ultimatesocialwidgets.com/ the Facebook sidebar.
Member 3892343
21-Feb-15 17:48pm
View
how else can I do eg. I know a company offers fuel truck location through an onboard gps by sendig sms through a gsm modem.
Member 3892343
14-Feb-15 6:55am
View
to watch videos etc. from pc to tv...
Member 3892343
13-Dec-14 1:54am
View
#include "stdafx.h"
#include "tttest.h"
#include "tttestDlg.h"
#include <windows.h>
#include <iostream>
#include <complex>
added
just want the monitor dimensions in MFC
Member 3892343
13-Dec-14 1:51am
View
Deleted
#include "stdafx.h"
#include "tttest.h"
#include "tttestDlg.h"
#include <windows.h>
#include <iostream>
#include <complex>
Member 3892343
11-Dec-14 4:27am
View
in the designe time in vs when I try to add an event to button or add var to edit BOX, I use vs 2008 sp1. When i try to code.
Member 3892343
6-Dec-14 11:16am
View
Thank you, the reason is that I am not expert in C++ but I like to code the "old" way. :)
Member 3892343
1-Aug-14 3:42am
View
pk is not null all other fields are, I have checked dbgrid too it is not read-only everything is correct, I thing is the code for the update button
Member 3892343
11-Jul-14 4:38am
View
yes i want to select the molst recent date of the records of detail table of every master table record, i will try other answers sql also.
Member 3892343
30-Mar-14 6:18am
View
first line of the second code block, when I comment the firs line the same error in the second line
Member 3892343
20-Dec-13 15:50pm
View
I used jetbrains dotpeek is there any better? and you mean refer like form1 etc? and change the r8mpetc to form1 and so on?
Member 3892343
25-May-13 3:54am
View
Thank you
Member 3892343
25-May-13 3:53am
View
thank you atmir, I had forgotten it...
Member 3892343
9-Feb-13 13:11pm
View
Thank you Dave it worked, but as to code I think it is very time consuming, I can code the components and I will try it to next project.
Thanks again
Member 3892343
8-Feb-13 15:42pm
View
Hello Dave,
I have configured 2 sqldataadapters 1 for master 1 for detail, I have generated 1 dataset from both (right click generate dataset), I dbl click the dataset and in the designer I cinnected the 2 tables of the adapters, in a relationship (drag the mouse from PK tb1 to FK tb2) I have textboxes for the 2 tables and a picturebox for the details (it has a blob field and 2 other fields). I have put buttons to navigate for both master and detail smthng like me.bindingcontex.dataset.position= me.bindingcontex.dataset.position + 1. When I press the next button for the master it changes the detail as well but when I press the button for the detail it goes through all the detail table not just the current master's detail records, I want to know if it is normal since I have created the relationship in the dataset. How I solved it? I insert a query in the detail adapter which has a parameter like search and through a textbox (which has the PK of the master) I give to the parameter the value for the FK of the detail, it works but I was wondering if it can be done without the query or am I doing smthing wrong with the first approach?
Member 3892343
28-Jan-13 3:02am
View
"invalid object name #t"
Member 3892343
28-Jan-13 3:02am
View
I have to create the temp table #t? if I run it as you coded it returns "invalid object #t" error.
Member 3892343
23-Jan-13 6:12am
View
thanks
Member 3892343
26-Dec-12 13:16pm
View
the error is being in the "if pocturebox1.image = my.recources._1" and it is in design time and I cannot debug, it is not in the change image "picturebox1.image = my.recources._2", I found some code "if referenceequals(picturebox1.image,my.recources._1) = true" it does not have an error but not working at runtime, any help, C# is similar to vb.
Member 3892343
28-Nov-12 4:35am
View
windows forms
Member 3892343
26-Nov-12 5:59am
View
TY
Member 3892343
5-Nov-12 8:05am
View
any tutorial with php?
Member 3892343
5-Nov-12 5:38am
View
So can be done? any tutorial or code?
Member 3892343
25-Oct-12 2:06am
View
Here is the code but I wonder if it has to do that vb 2008 is without service pack 1, maybe I must update?
sql command in oledbcommand (note that in design time "preview data" the command works)
SELECT id, car_num, owner, afm1, address, phone, owner2, afm2, address2, phone2, owner3, afm3, address3, phone3, comments, photo, plaisio_num,
speciment_of_vechicle, type_of_vechicle, ead, product_facilities, onoma_patros, doy
FROM dbo.Table_1
WHERE (car_num LIKE '%' + ? + '%') OR
(owner LIKE ? + '%') OR
(afm1 LIKE ? + '%') OR
(address LIKE ? + '%') OR
(phone LIKE ? + '%') OR
(owner2 LIKE ? + '%') OR
(owner3 LIKE ? + '%') OR
(plaisio_num LIKE ? + '%') OR
(ead LIKE ? + '%')
and here is the serach button code (combo index of 0,5,7,8 works and gives the results)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Select Case ComboBox1.SelectedIndex
Case 0
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(0).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 1
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(1).Value=TextBox1.Text OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 2
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(2).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 3
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(3).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 4
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(4).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 5
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(5).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 6
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(6).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 7
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(7).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
Case 8
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.Parameters(8).Value = TextBox1.Text
OleDbDataAdapter1.Fill(DataSet51, "Table_1")
OleDbConnection1.Close()
End Select
End Sub
Member 3892343
14-May-12 4:27am
View
I have tried it to my serial ata disk and to my ide the same. It is a dual core amd am4 with an asus motherboard 4 gb of memory, 3 hd (2 serial ata 1 ide) and I have never had problem like this before, I was installing my win xp perfectly, I even remove a dim of a memory to lower memory to 3 gb (win xp don't recognize above 4 gb) but all the same, it is the first time that this problem came up. I even scan disk the disks but there is no problem, maybe something with the mbr?
Kyriakos
Member 3892343
13-Mar-12 6:09am
View
I am trying to put my program to startup, it connects to an sql database and adds edits deletes records, but when I put it it loads before sql server and cannot connect to it, I have tried sleep(seconds) but it is a little uncomfortable sometimes loads before sometimes after. So I want to load sql server first and then my program from startup so it is connected properly.
Member 3892343
7-Mar-12 13:22pm
View
Hello,
Just to ask, I havent red the article yet, is there any way (with this article) to find a gps online? eg I have a garmin gps can I find it on google maps without connect it to the pc?
Member 3892343
7-Mar-12 8:41am
View
Hello,
Thank you Bjorn, I was looking on how to receive gps coordinates through google maps, I will see your first solution.
Thanks again
Member 3892343
20-Jun-11 13:36pm
View
Sorry for the 3.0 it is a pure 5.00'
Member 3892343
15-Apr-11 2:59am
View
here is the insert statment :
Collapse | Copy Code
INSERT INTO [scan] ([id_2], [photo]) VALUES (@id_2, @photo);SELECT id, id_2, photo FROM scan WHERE (id = SCOPE_IDENTITY())
and the update :
Collapse | Copy Code
UPDATE [scan] SET [id_2] = @id_2, [photo] = @photo WHERE (([id] = @Original_id) AND ([id_2] = @Original_id_2));SELECT id, id_2, photo FROM scan WHERE (id = @id)
I thing there is an update problem because no @id_2 seems to get a value.
And the insert had to be a @ parameter (?)
Collapse | Copy Code
Me.SqlDataAdapter3.InsertCommand.Parameters(0).Value = Convert.ToInt32(TextBox22.Text)
Member 3892343
15-Apr-11 2:58am
View
No solution, Yes mem, I am trying to insert an image to the blob field, basically the table has 3 columns PK, FK and a blob field. I am using vintasot Twian activex for scanners.
Kyriakos
Show More