1,857 Posted Topics

Member Avatar for raphael1

add a timer control(timer1). set the interval property to 1000. put your code, from the for loop, inside the timer1 tick event. to start the timer call timer1.start, to stop it call timer1.stop.

Member Avatar for tinstaafl
0
243
Member Avatar for saurabhcodes

I think what you want to do, is called `remoting` in .net. Here's the [MSDN article](http://msdn.microsoft.com/en-us/library/system.runtime.remoting.remotingservices.aspx) on `remoting`

Member Avatar for caKus
0
176
Member Avatar for arsal2012
Member Avatar for arsal2012
0
191
Member Avatar for rishif2

Doesn't the background image property automatically tile the image if it's too small.

Member Avatar for tinstaafl
0
128
Member Avatar for memeDreamy

Your code doesn't look to bad. However I don't see any `select case` statement. If you mean the query statement with select in it, what error do you get? On another matter you might want to take a look at this [post](http://www.daniweb.com/software-development/vbnet/threads/443463/why-doesnt-this-code-work) about handling multiple controls with one handler( control …

Member Avatar for tinstaafl
0
78
Member Avatar for JesGo

I'm thinking that perhaps you're coding and the set up of your properties might be out. With accept and cancel assigned on the modal form and `this.Close();` in the click event of the cancel button, just the modal form closes, not the parent. when testing this I also set the …

Member Avatar for ddanbe
0
132
Member Avatar for mferarri

I suggest you read this [article](http://msdn.microsoft.com/en-us/library/aa231154%28v=VS.60%29.aspx) about the timer control. It discusses millisecond accuracy. To blink the label, just use the label change event to swap the forecolor and backcolor everytime the label changes.

Member Avatar for samsylvestertty
0
627
Member Avatar for sarman.boyslo

Those pics don't show enough. Copy and paste your code in here, and we'll have a better idea.

Member Avatar for AndreRet
0
551
Member Avatar for singularity~

Maybe the problem isn't the match but the code once there is a match. What you submitted doesn't show any code.

Member Avatar for singularity~
0
329
Member Avatar for Depreciated

It really will depend on the minimum PC configuration you want it to run on. The more resources you add, expecially images, the more overhead your software will have. Unless you really need hi def content, lower resolutions will allow more images bofore it starts to signifiacntly slow it down. …

Member Avatar for M.Waqas Aslam
0
189
Member Avatar for NardCake

What version are you using? In my VS2010 that is the standard look of the tab control.

Member Avatar for NardCake
0
108
Member Avatar for jay nadeem

In the crystal report control is a DisplayRectangle proerty and the DrawToBitmap method, it appears that with both of these you can get the picture from your database and draw it on the report. Searching the [MSDN library](http://msdn.microsoft.com/en-us/library/microsoft.reporting.winforms%28v=vs.100%29.aspx) can probably give more info.

Member Avatar for tinstaafl
0
225
Member Avatar for VISPFORALL

Learn C++, like any programming language is a journey of discover, and like any journey your satisfaction with the results will be dependant on the effort you've put into reaching your destination.

Member Avatar for tinstaafl
-1
106
Member Avatar for kedxu

I think it's more a matter of the logic of your program. In the simple example you gave it probably wouldn't matter. Consider this though: if x=1 then x=y else if x>0 then x<>y else if x>0 then x=y*-1 endif endif endif If x=1 then x=y endif If x>0 and …

Member Avatar for deceptikon
0
212
Member Avatar for ImZick

Yes, in the chart control is an option for 3D. Here is the [MSDN article](http://msdn.microsoft.com/en-us/library/dd456632%28v=vs.100%29.aspx), that dicusses charts, including 3D.

Member Avatar for ImZick
0
628
Member Avatar for Prysm[VA]

basically if you have series of conditions that rely on different values of the same variable then a case construct is simnpler to code than a series of if-else statements.

Member Avatar for mike_2000_17
0
327
Member Avatar for logamuthu

Just a look at some code for Qbasic. While alot of the statements and functions are similar there are enough differences in syntax and structure you can expect to have to transpose by hand the QB code line by line to the VB code. It might be simpler to break …

Member Avatar for logamuthu
0
132
Member Avatar for tieties

Once you have the pictureboxes loaded with the images, check out this [post](http://www.daniweb.com/software-development/vbnet/threads/443463/why-doesnt-this-code-work). TnTinMN's answer contains a very easy to understand sample on how to handle the click event of an array of controls. One routine to control them all lol As for displaying the info for the images, pull …

Member Avatar for tinstaafl
0
802
Member Avatar for filxy

delete lines 10 & 120 & 129. This removes the blocks from printing out the names, etc.. In looking at your code it looks like you want to list the students by name and number them as well. I redid the code to do that as your code printed out …

Member Avatar for tinstaafl
0
585
Member Avatar for Skate Bart

Here's the [MSDN article on the Shell Function](http://msdn.microsoft.com/en-us/library/aa242087%28v=VS.60%29.aspx). Which should do what you want. basically Shell(""path""), and yes the double quotes are on purpose. :) If I remember correctly the App object applies to the vb project and the path property is read-only and poins to the directory that the …

Member Avatar for rishif2
0
945
Member Avatar for Skate Bart

What you want to do is somewhat difficult with the native functions in VB6. Using the windows api functions however are much more flexible. Here's an example to open a text file just by passing the path to the file. You should be able to adapt it to your needs. …

Member Avatar for AndreRet
0
4K
Member Avatar for Sammy Valdez

I think what you'll need is a metadata api. One of, if not, the best is [Freeimage](http://freeimage.sourceforge.net/index.html)

Member Avatar for tinstaafl
0
66
Member Avatar for redserpent7

Might not be what you want, but , you could just ask whoever logs into the cloud what their connection type is. Or even if they want the ability to pause the connection.

Member Avatar for tinstaafl
0
264
Member Avatar for wooshman
Member Avatar for jay nadeem

Here's the appropriate article in [MSDN on the DateAndTime](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.dateandtime.aspx) class. Through class you can access any or all parts of the date.

Member Avatar for jay nadeem
0
107
Member Avatar for AmrMohammed

Here's the [MSDN Article on the Calendar Class](http://msdn.microsoft.com/en-us/library/system.windows.controls.calendar.aspx). It's very configurable. It should be able to do what you want.

Member Avatar for tinstaafl
0
78
Member Avatar for DyO1
Member Avatar for tinstaafl
0
119
Member Avatar for plbo

One way is to disable/enable the network adapter(s). Here's a few posts to look at that should give you some idea: [Click Here](http://www.daniweb.com/software-development/vbnet/threads/279379/working-with-localareaconnection), [Click Here](http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/35497/script-to-control-network-connections) [Click Here](http://www.codeproject.com/Questions/151446/How-to-disable-or-enable-a-network-adapter)

Member Avatar for james6754
0
843
Member Avatar for efe.ozyer

It looks like what you want is to extend List<T>. I've tried this and it works for me: // add this to be able to access the extension using MyExtensions; namespace MyExtensions { public static class My_Extensions { public static int GetData(this List<Npc> sender, short id) { for (int i …

Member Avatar for efe.ozyer
0
411
Member Avatar for Rachna0309

If I understand your code right you need something like this: Dim rcount As Integer = dgvUserDetails.Rows.Count For Each row As DataGridViewRow In dgvUserDetails.Rows If Not row.IsNewRow Then VNO = Me.dgvUserDetails.Rows(e.RowIndex).Cells(1).Value sql = "Select ID from datafile where VNO = " & VNO & "" If rs.State = 1 Then …

Member Avatar for tinstaafl
0
139
Member Avatar for TonyG_cyprus

The base drivers for the windows installation you're trying use are for a different system, therefore windows needs them replaced with the base drivers for your system. I've never tried it with Win7, but you should be able to to an install as an upgrade, that will keep your existing …

Member Avatar for tinstaafl
0
152
Member Avatar for waleed.makarem

Here's a bit of code that will parse the string in the pattern you mentioned and put each set of numbers in a list: Dim Str As String = "[1-5][8-10][10-20][21-31]" Dim StartTime As New List(Of Integer) Dim EndTime As New List(Of Integer) Dim ST, ET As String Dim TmpStr As …

Member Avatar for Reverend Jim
0
716
Member Avatar for jay nadeem

If you view the [PrintDocument class in MSDN](http://msdn.microsoft.com/en-us/library/vstudio/system.drawing.printing.printdocument%28v=vs.110%29.aspx) it should give you the info you need

Member Avatar for tinstaafl
0
38
Member Avatar for Dili1234
Member Avatar for Kareem Klas

When you first open VS2010 VC++ Express. The page that opens is called the start page. Here you can easily find out more on what is possible to do with VS. I know that a lot of the code will be beneath your knowledge level, but, it's a great way …

Member Avatar for Kareem Klas
0
203
Member Avatar for rajesh1158

instead of `picDestination.Image = dest_bm;`, try `dest_bm.Save(@"path to save")`. 'path to save' is the path to where you want to save the image.

Member Avatar for tinstaafl
0
231
Member Avatar for Lyfe
Member Avatar for Douglas Blades

Im general the best work around was to eliminate the Y2K problem, by using 4 digit years

Member Avatar for tinstaafl
0
137
Member Avatar for Yorkiebar14

You shouldn't need both the `process.start` and the `shell` commands. That may be why your file is opening and you're getting the error. One is throwing the exeception and the other is succeeding. This may seem weird on the surface but the `File Not Found` means something different to each …

Member Avatar for tinstaafl
0
191
Member Avatar for owenransen
Member Avatar for Ancient Dragon
0
274
Member Avatar for krysalex
Member Avatar for acepeda

Change the format of your date string before you pass it to the query(i.e. `TempDateString = Format(dtphours.text, "yyyy/mm/dd"`).

Member Avatar for acepeda
0
174
Member Avatar for Maniha

Try this: Imports System.IO Module Module1 Sub Main() Dim array As String() = File.ReadAllLines("file.txt") 'Dim line As String this is unnecessary for-each dims the variable automatically For Each line In array Dim length As Integer = line.Length 'have a textbox on the form and set multiline to true 'this line …

Member Avatar for tinstaafl
0
9K
Member Avatar for PM312

Try this adnewrow("Acct_Code") = TxtAcctCode.Text DACodeMaster.UpdateCommand = CBCodeMaster.GetUpdateCommand() DACodeMaster.Update(DTCodeMaster)

Member Avatar for PM312
0
192
Member Avatar for ImZick

> Variable Name is used before it has been asigned a value. try changing line 3 to `Dim Name As String = ""` this will initialize the `Name` variable. > 'I want to store all the lvAccountManager Column 1 a string called "Name" Line 12 - `Name = Name & …

Member Avatar for tinstaafl
0
159
Member Avatar for disjes

Have you tried the `GridView.UpdateRow` Method("Use the UpdateRow method to programmatically update the record at the specified index in the data source.")? The MSDN article is [here](http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.updaterow.aspx)

Member Avatar for tinstaafl
0
258
Member Avatar for SMIFMD

It sounds like the ImageList Component is what you need, "The Windows Forms ImageList component is used to store images, which can then be displayed by controls. An image list allows you to write code for a single, consistent catalog of images. ". The msdn article giving details is [here](http://msdn.microsoft.com/en-us/library/yf5cywb3.aspx)

Member Avatar for tinstaafl
0
197
Member Avatar for TechSupportGeek

In your answer you didn't mention anything about enabling sharing on the printer. This is a vital step and very easy to do. As mentioned previuosly, this option is in the context menu for the printer.

Member Avatar for TechSupportGeek
0
421
Member Avatar for iMARUF

When you used PowerISO was it to install the same files? The problem you had with it is probably normal, the live boots need a certain format to boot. It might be worth another re-format of the usb stick to see if PowerISO will boot the same files. Just a …

Member Avatar for Mike+9
0
153
Member Avatar for vonnoy

Have you checked the format of the relevant date strings? If the formats don't agree the search function won't recognize the same date. You might be better off casting each one to a `date` type to compare them.

Member Avatar for AndreRet
0
213

The End.