800 Posted Topics

Member Avatar for Wolxhound90
Member Avatar for choosechrist

Your If statement is convlicting with what you are wanting. You are checking to see if the row is not empty, and checking to see if string value is not empty. Then removing it when it satisfies both conditions. I think what you are looking for is: If IsNothing(row.Cells(j).Value) = …

Member Avatar for adam_k
0
992
Member Avatar for Om Alooi

I think what thines is trying to say is you will have to post some code so we can look at it. We can't exactly tell what's going wrong if we can't see your code. :)

Member Avatar for thines01
0
147
Member Avatar for Begginnerdev

Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills

Member Avatar for Begginnerdev
0
176
Member Avatar for dhaval.2cool

[Here](http://www.daniweb.com/software-development/vbnet/threads/231979/send-images-to-crystal-reports-vb.net) is another person who has asked a similar question.

Member Avatar for Begginnerdev
0
149
Member Avatar for sing1006

You will have to change your command strings. Any STRING that is being entered into a command should be wrapped in `'s. Example: SELECT * FROM book WHERE isbn='" & Cstr(intISBN) & "'" You just need to fix your queries.

Member Avatar for Begginnerdev
0
240
Member Avatar for Iamateur

You will not be able to have child forms without having a mdiParent.

Member Avatar for Pgmer
0
189
Member Avatar for sing1006

Your connection string looks wrong. Are you getting your "DataDirectory" from your vb app? If so, your connection string should look like this. cnn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DataDirectory & "\Database.accdb"

Member Avatar for adam_k
0
143
Member Avatar for sam pinto

There are multiple Mouse events. Here is the order that the click events fire in. MouseDown MouseClick MouseUp Examples: Private Sub MouseDownMe(sender as object, e as MouseEventArgs) handles Me.MouseDown MsgBox("You have clicked the mouse.") End Sub Private Sub MouseClickMe(sender as object, e as MouseEventArgs) handles Me.MouseClick If e.Button = Windows.Forms.MouseButton.Left …

Member Avatar for Hilal2009
0
114
Member Avatar for renzlo
Member Avatar for vkk

Ok, if I hope I understand the question... You are: 1) Retreiving the data from a database 2) Entering the data into the active directory Right?

Member Avatar for Begginnerdev
0
54
Member Avatar for Pamilerin

You will have to loop through the datagrid like a table. Here is another question from Microsoft's Forumns. [Click Here](http://social.msdn.microsoft.com/Forums/ar/winformsdatacontrols/thread/7966c0b0-2232-4555-bdef-f79f2684713a)

Member Avatar for Begginnerdev
0
849
Member Avatar for devilsk

You will need to use directory info. Here is an example. Private Sub GetRandFile(sender As Object, e As EventArgs) Try Dim tmpdir As String = My.Computer.FileSystem.SpecialDirectories.Desktop Dim tmpar() As String If Directory.Exists(tmpdir) = True Then Dim di As New IO.DirectoryInfo(tmpdir) Dim diar1 As IO.FileInfo() = di.GetFiles() Dim dra As IO.FileInfo …

Member Avatar for Begginnerdev
0
124
Member Avatar for cisumma

[Here](http://www.daniweb.com/software-development/java/threads/42177/changing-mouse-cursors) is another post on the same subject.

Member Avatar for Begginnerdev
0
289
Member Avatar for renzlo
Member Avatar for Begginnerdev

Found an odd fix for the bad comments for the CODE section for the vb.net forumns. If you add an additional ' at the end of the commented line, it renders fine.

Member Avatar for Dani
0
295
Member Avatar for Reverend Jim

The only way I know of would be to single out each directory and find the directory pointing back to it's self. This would be time consuming, but you would be able to find the problem, then just remove the loopback.

Member Avatar for Reverend Jim
1
289
Member Avatar for saleem.mukhtiar

Here is an entire project from CodeProject. You can use it as a reference to help get you started. [Project](http://www.codeproject.com/Articles/30687/Double-Entry-Accounting-in-an-Iron-Speed-Designer)

Member Avatar for Begginnerdev
0
69
Member Avatar for paoi00

Are you sure tha the text from the text boxes is being handled correctly? One thing I do to check entered dates is a small try catch. Try Dim test As Date = CDate(TextBox1.Text) Catch ex As Exception MsgBox("Date incorrect!") End Try And for TextBox12, I am assuming it is …

Member Avatar for Begginnerdev
0
112
Member Avatar for NoIdea.Net

[Here](http://vb.net-informations.com/xml/open-xml-vb.net.htm) is a tutorial for you.

Member Avatar for thines01
0
145
Member Avatar for ponkan20

Are you storing these values in a database? I would hope so. If not, you could possibly lose all information from power loss or application exit.

Member Avatar for poojavb
0
1K
Member Avatar for tendaimare

You have a couple of options for keeping records of who is logging in. 1)Database* 2)Program's Settings (XML) 3)Text FIle 4)CSV File *The most reliable.

Member Avatar for poojavb
0
106
Member Avatar for renzlo
Member Avatar for Sahil89
Member Avatar for Sahil89
0
117
Member Avatar for paoi00

Are you wanting to limit the select count to 60 per each item in the combobox, or 60 total selections of items?

Member Avatar for paoi00
0
318
Member Avatar for Begginnerdev

Hello my fellow daniwebbers, I have yet another question. I have a date, which is pulled from a database, that I need to convert to another form of that date. Example. Date1: 1/2/2001 Date2: 01/02/2001 What i am wanting to do is turn the current date format into two digit …

Member Avatar for Begginnerdev
0
161
Member Avatar for newbie12345

You can also use the Active Directory if you are wanting a full name. That would be the most accurate way if you were writing a multiple user application. Each user's name would be in teh active directory.

Member Avatar for smitty68503
0
5K
Member Avatar for MasterHacker110

Don't know if anyone else here has the same feeling that I have..... I have a feeling that this may either be a prank, or something malicious.... Am I the only one who feels this way? Also, wrong forum.

Member Avatar for mike_2000_17
-1
183
Member Avatar for brainthomas33

Create a timer, delclare a public variable with the value of 30 and set the interval to 1000 miliseconds (1 second) then in the timer place the code. public var as integer = 30 'In the timer.tick event.' var -= 1 ballLocation = new Point(ballLocation.x, ballLocation.y - 1) If var …

Member Avatar for Begginnerdev
0
232
Member Avatar for mitchfizz05

Place this code in the Form's mouse down event. 'On mousedown' If e.Button = Windows.Forms.MouseButton.Left Then Capture = True relocateTimer.Start() End If Place this in the mouse up event. 'On mouseup' relocateTimer.Stop Capture = False Next place this in the timer's tick event. 'Place this code in a timer.' 'Set …

Member Avatar for Begginnerdev
0
124
Member Avatar for Begginnerdev

Hello my fellow Daniwebbers, I have yet another question for you. I have been using a library to scan, located [here](http://bytescout.com/products/developer/scansdk/bytescoutscansdk.html), and have not been getting a consistant return. When I use the TWAIN Source, the GUI pops up and disappears almost instantly. When I tell the source manager to …

Member Avatar for Begginnerdev
0
420
Member Avatar for G_Waddell

I am suspecting that the issue is the AllocatedItem. Correct me if I am wrong, but there will only be object types in the data source right? You can place the code in a TryCast() to attempt to cast it to the AllocatedItem object.

Member Avatar for G_Waddell
0
255
Member Avatar for paoi00
Member Avatar for SyncMaster170
Member Avatar for Begginnerdev
0
114
Member Avatar for paoi00

Exact duplicate of [this.](http://www.daniweb.com/software-development/vbnet/threads/419532/dates-in-my-database-become-0-or-1)

Member Avatar for paoi00
0
206
Member Avatar for kampao00

What poojavb is saying is that you do not need those single and double quotes. Single quotes in SQL are used to represet a string DATA value. The double quotes you are using to creating a string in VB.NET Example: Dim strn As String = "This is the correct way …

Member Avatar for Mitja Bonca
0
196
Member Avatar for Begginnerdev

Hello my fellow DanniWebbers, it is me againg. I have yet another question for you guys and gals. I have a parent panel with child panels that contain images. I am looping through the panels to save the images in the order the panels appear in the parent panel. I …

Member Avatar for Begginnerdev
0
153
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I am going crazy here. I have been messing around with the scanning packages(WIA and TWAIN) and have gotten WIA to work, but not as intended. At first I used the common dialog to show a Image Aquisition Wizard, but that did not return desired results. …

Member Avatar for Begginnerdev
0
906
Member Avatar for Gobble45

I have always had bad luck with looking for empty rows. I have always made direct references to the data are. I would normally wrap the code in two for statements like: For i = 1 To NumberOfColumns For i = FirstDataRow To LastDataRow 'Place your extraction code here.' Next …

Member Avatar for Reverend Jim
0
967
Member Avatar for poojavb

You will have to "recreate" the situation to generate the report the same way as it was two days ago. If the reports are not archived, then you will have to find a way to recreate the situation.

Member Avatar for poojavb
0
100
Member Avatar for tom12

You aren't referencing a textbox you renamed or forgot to name are you? If not, have you possibly deleted the textbox by accident? Are both of them on a different form? Have you forgotten to add them to the form? If you have you can do it through the designer …

Member Avatar for Begginnerdev
0
80
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I have yet another question for you to ponder. I have two custom action listers. One that handles Mouse.Click and one that handles Mouse.MouseDown. My question to you is, can I delay the mouse down event so that it does not intefere with the code of …

Member Avatar for Begginnerdev
0
5K
Member Avatar for bigzos

Can you please elaborate on the "missing" features? What features does it have and not have?

Member Avatar for bigzos
0
89
Member Avatar for tukky

You would have to keep a counter of the visists to that website, and increment the counter every time the user views that website. Then, you will have to define how many visits constitute an automatic favorite. Next, you will copy the corresponding website to the "Favorites" list box.

Member Avatar for Begginnerdev
0
144
Member Avatar for networkmancer

Try this: Dim textbox1 As New TextBox textbox1.name = "TextBox1" textbox1.bounds = New Rectangle(e.Location,New Size(100,100)) textbox1.location.x = myOtherTextBox.Location.x + 40 textbox1.location.y = myOtherTextBox.Location.y Me.Controls.Add(textbox1)

Member Avatar for Reverend Jim
0
1K
Member Avatar for darthswift00

You will have to create a query that gets the current value and subtracts one. Dim sqls as String = "UPDATE table SET column= column - 1 WHERE unique=value"

Member Avatar for darthswift00
0
142
Member Avatar for dilse4sk

You will need to reference the value in the textbox from Add Product. Like: BuyingForm.TotalTextBox.Text = Cdbl(AddProduct.PriceTextBox.Text) * Cint(BuyingForm.QuantityTextBox.Text) But, you may have a problem. Are you luaching the buying form FROM the add product form? If not, you are not going to be able to get your value from …

Member Avatar for P.manidas
0
971
Member Avatar for mehnihma

You might have to edit the CSV file. Or, if you know all the lengths are the same, you can parse the second value and seperate by the values from string index 1-3, 3-6, ect...

Member Avatar for mehnihma
0
2K
Member Avatar for NavVet

You will have to store the data you have already read to a "temp" location. That way every time you open the file again, you can compare to see if there is any new data, copying only the new data.

Member Avatar for Mitja Bonca
0
270
Member Avatar for Darkone

Declare a boolean variable at the top of the class. public Paused as Boolean = false 'When you fire your click event do this; If Paused = false Then 'Pause code here Paused = true ElseIf Paused = True Then 'Unpause code here. Paused = False End If

Member Avatar for Begginnerdev
0
959

The End.