800 Posted Topics

Member Avatar for miramiey

If the charts are table driven you can query the database and then store the data into a data table.

Member Avatar for Begginnerdev
0
273
Member Avatar for vinnitro

If you are a student, then you shouldn't just request a project. You should show a little effor before we can offer to help you. Now, if you have ideas or code, post them. We can't do your homework for you.

Member Avatar for vinnitro
0
135
Member Avatar for miramiey

The correct sql statement would be: ("SELECT * FROM daftarpelajar WHERE '" & cbChoice.Text & "' Like '%" & txtSearch.Text & "%' ORDER by id_pelajar ", conn)

Member Avatar for Begginnerdev
0
138
Member Avatar for miramiey

You can get rid of the has rows, and try: [CODE] If myData IsNot Nothing Then Do While myData.Read 'Place your code here. 'Use GetValue instead of .toString Loop Else MsgBox("Empty Reader") End IF [/CODE]

Member Avatar for Begginnerdev
0
347
Member Avatar for bosz015
Member Avatar for Aviplo
Member Avatar for senbaris

You will have to read/write from a stream. If you use the File.IO methods, you are holding that file until the application exits. I know you might not have to worry about it from the regulars, but the anons might take advantage of the private information. You might want to …

Member Avatar for Mitja Bonca
0
226
Member Avatar for dilse4sk

If you are deleteing the value from one table, you will have to also delete the value form the second table.

Member Avatar for M.Waqas Aslam
0
169
Member Avatar for er_svijayakumar

If the column is a varchar, just simply store the value as you wish. If it is a numerical value, you can use decimal places to seperate the value. Example: 40.6

Member Avatar for adam_k
0
136
Member Avatar for CriticalError

I must be totally lost, but didn't you answer you own question with the code you provided? Are you trying to link code to an external document? If so, just make the sub public and import the document on the document you wish to have the Undo. If not, you …

Member Avatar for Begginnerdev
0
150
Member Avatar for bernardz26

Is there a control on the form that the scroll bars are bound to? If not, are you expecting them to scroll the form's viewable area?

Member Avatar for Begginnerdev
0
62
Member Avatar for jamesjeny

You will have to work with the NET library. There is another post on the same subject [Here](http://www.daniweb.com/software-development/vbnet/threads/38368/get-local-ip-address)

Member Avatar for Begginnerdev
0
51
Member Avatar for hrul
Member Avatar for Begginnerdev
0
186
Member Avatar for saleem.mukhtiar
Member Avatar for Begginnerdev
0
325
Member Avatar for toomutch

There is a free extention for Visual Studio that does this. Open visual studio, and go to the extention manager. Go to online templates and look for Google GEO Pack 2010

Member Avatar for toomutch
0
192
Member Avatar for Farhan_B

Create an orders table to store the meta data of the order, and then store the order id in the customer table.

Member Avatar for Reverend Jim
0
128
Member Avatar for darthswift00

You can force your delete/refresh by making the delete form modal and creating a sub procedure that will refresh the data in the parent form.

Member Avatar for darthswift00
0
146
Member Avatar for dilse4sk

For such a small deployment, I suggest using Click Once Deployment. You can deploy your application by publishing the application. The settings can be set in options for the desktop icon ect.. You will simply need to naviagte to the publish directory and then run the setup.exe in that directory.

Member Avatar for M.Waqas Aslam
0
141
Member Avatar for gowans07

If the variable creation is in the loop, you are not disposing the bitmap before trying to create another with the same name.

Member Avatar for gowans07
0
195
Member Avatar for bernardz26
Member Avatar for Mitja Bonca
0
110
Member Avatar for choboja621

There is an alogorithm in a zip file [URL="http://www.dreamincode.net/forums/topic/24314-cpu-scheduling-algorithm/"]here.[/URL]

Member Avatar for Begginnerdev
0
94
Member Avatar for cyberdaemon

Is SQL client required? If not, I can try to rewriting using an OLEDB client, which I am more famillar with. But this will require you to test it due to your database being local.

Member Avatar for Begginnerdev
0
2K
Member Avatar for CriticalError

Place the code in a try catch block [CODE] Try 'Your code here Catch ex As Exception MsgBox(ex.stacktrace.Tostring) End Try[/CODE] This will show the exact line that is throwing the error. Or, alternately. Test each value before performing the action. [CODE] If fontSelection.Text <> "" AND Document.SelectionFont.Size ISNOT Nothing AND …

Member Avatar for Jx_Man
0
848
Member Avatar for bernardz26

You will need to search for the name in the database. Create a query then execute the query, fillng a table. After the table has been created, place the values and update the table.

Member Avatar for M.Waqas Aslam
0
130
Member Avatar for guy40az

If the elements are stored in a database or Excel workbook, you can just pass it in with a loop. Where are you getting your data from? (If you can disclose that information)

Member Avatar for vasim jada
0
175
Member Avatar for AaronDickey
Member Avatar for Begginnerdev
0
405
Member Avatar for Denden17

You can use a date/time picker and date objects. For date objects you can try: [CODE] 'Create a date object. 'You can default the date to a date from the database. Dim datobj As Date = Now 'For 15 days from the day of execution. Dim nextPay As Date = …

Member Avatar for Begginnerdev
0
145
Member Avatar for Om Alooi

For question number 3, you can place picture boxes with the pictures in them. Hide all of the picture boxes and when the user checks a certain checkbox, change the picturebox to be shown.

Member Avatar for Begginnerdev
0
181
Member Avatar for flywheeljack
Member Avatar for Begginnerdev
0
151
Member Avatar for awanz

You will want to create a listview item, and then bind the .text of the listview item to a unique value(primary key) then build the item and add it to the listview. Example: [CODE] dim itmListView as New ListViewItem 'Random value, substitute it with your own. itmListView.Text = iamunique 'Next …

Member Avatar for Begginnerdev
0
226
Member Avatar for vmk

If registry keys are not an absolute must, you can use the application settings to save all of the information. Example: [CODE] 'Where savedwidth has been added as a int in the application settings. Me.Width = My.Settings.SavedWidth 'Then for saving you can... My.Settings.SavedWidth = Me.Width My.Settings.Save() [/CODE]

Member Avatar for Begginnerdev
0
138
Member Avatar for jcgldr

You can do this in vb [CODE] If IsDBNull(value) then 'Value is null, place code to handle here. End if [/CODE]

Member Avatar for Begginnerdev
0
2K
Member Avatar for ninjatalon

If you are working with non database items, you can try parsing each item in the gridview. Like this: [CODE] dt2.rows('index') = dt1.rows('index') 'So, like this 'dt2.row(0) = 0 'dt1.row(1) = 15 dt2.rows(0) = dt.rows(1) dt2.rows(0) = 15 [/CODE]

Member Avatar for ninjatalon
0
134
Member Avatar for hazeleyez

By copy/pasting into VS and creating my own dummy class of Sales I managed to get it working. Perhaps something wrong with other code in the same .vb file?

Member Avatar for hazeleyez
0
293
Member Avatar for gozo12

Is your code wrapped in a loop somewhere? Can you please post a larger portion of the code so we can analyze it?

Member Avatar for codeorder
0
220
Member Avatar for senbaris
Member Avatar for Begginnerdev
0
101
Member Avatar for tontano

You could create a library from the C# class. Then reference it to the vb.net project.

Member Avatar for Begginnerdev
0
152
Member Avatar for J94

My mind just threw a StackOverflowException from thinking about this. A high-level language, simulating a low level language, which is powered by a high level language, that gets converted to a low level language.

Member Avatar for Begginnerdev
0
154
Member Avatar for vivekanandaan
Member Avatar for srinim84

One easy way to find errors in code is to insert a break point. Then step over the code until you find where it it throwing the error. Hope this helps.

Member Avatar for Begginnerdev
0
321
Member Avatar for daydie

Did you try removing the second [CODE] WebBrowser1.ScriptErrorsSuppressed = True [/CODE] And... [CODE] For abc = Cint(TextBox5.Text) To Cint(TextBox6.Text) Step 1 [/CODE]

Member Avatar for daydie
0
1K
Member Avatar for guy40az
Member Avatar for Begginnerdev
0
122
Member Avatar for jigarsangoi

You can create a naming scheme, which you already have. Then generate that name on runtime. I am assuming you are using a database backend? If so, you can use a primary key as a varchar. Generate the key in application, on save, by: [CODE] dim datestr as string = …

Member Avatar for poojavb
0
166
Member Avatar for vammy

Would that not mess up when: [CODE] 6312 + 500 = 6812 \ 1000 = 6 * 1000 = 6000 6312 \ 1000 = 6 * 1000 = 6000 [/CODE] Or am I just missing some language side rounding method?

Member Avatar for Reverend Jim
0
442
Member Avatar for Rock_IT

Use [url]http://www.connectionstrings.com/[/url] And [URL="http://www.daniweb.com/software-development/vbnet/threads/407064"]This[/URL]

Member Avatar for princenathan
0
223
Member Avatar for Begginnerdev

Hello my fellow Daniwebbers, I have a modest question for you. I have a panel, which contains child panels. I have code the alows the user to delete the selected panel, but can't figure out how to refresh the parent panel with the deleted panel gone. When I use the …

Member Avatar for Begginnerdev
0
200
Member Avatar for poojavb

Are you wanting to convert to ASP with VB.net or ASP with C#? There are two different code languages that drive ASP.net.

Member Avatar for poojavb
0
368
Member Avatar for Begginnerdev

I have a question for all of my fellow Daniwebbers. If I place a panel within another panel, can I "click" the panel later? In other words, if I am able to click the panel, can I reference that panel in code for manipulation? Such as flipping or rotating the …

Member Avatar for Begginnerdev
0
165
Member Avatar for sirmcfly.works

You could do as hericles stated and just store a path reference into the database. You could get it application side and then assign it to a string. Then pass the string in to the database. You will have to make sure that everything is spelt correctly ect.

Member Avatar for Ggalla1779
0
247
Member Avatar for bhavan kamble

Did you also notice you had 2 connection disposes for the same connection? [QUOTE] [CODE] con.Dispose() cmd.Dispose() con.Dispose() [/CODE] [/QUOTE]

Member Avatar for Reverend Jim
0
1K

The End.