1,857 Posted Topics

Member Avatar for Divinedar

try this function `=IF(Sheet2!A1 = 0," ",Sheet2!A1)` basically if the source = 0 then use a " " as the value otherwise use the value from the source.

Member Avatar for Divinedar
0
109
Member Avatar for WDrago

Try this: location1Thread = new Thread(location1.readSensor()); location2Thread = new Thread(location2.readSensor());

Member Avatar for darkagn
0
213
Member Avatar for Dewey1040

If you're going back and forth like that a lot you might be better of loading the file into some sort of structure, an array or maybe a list. This allows back and forth access much more easily.

Member Avatar for CGSMCMLXXV
0
155
Member Avatar for filxy

Your code is somewhat confusing. It looks like you're trying to add a `LinkedListNode` to a `List`. You would probably have more luck using the `LinkedList` type rather than a `List` type.

Member Avatar for tinstaafl
0
227
Member Avatar for aisehpe

`Handled` and `KeyChar` are only part of `Key` events, like `KeyPress`. You'll have to use one of those events to trap which keys are being pressed. If you have to use the TextChanged event you could read the `Text` property and isolate the last character

Member Avatar for tinstaafl
0
2K
Member Avatar for danimischiu

You'll need a website for the app to connect to that will have the latest version of the app. This [article](http://msdn.microsoft.com/en-us/library/cc668164%28v=VS.100%29.aspx) might help in connecting your app to the web

Member Avatar for tinstaafl
0
95
Member Avatar for anestistsoukalis

Could the file still be open and without an EOF marker? I noticed that the sub that writes to the outfile doesn't close the stream, if the same file is then read would it have an EOF marker? just a thought.

Member Avatar for tinstaafl
0
224
Member Avatar for Dili1234

If you still wanna have your own, here's [one that someone developed](http://www.lumisoft.ee/lsWWW/ENG/Products/Mail_Server/mail_index_eng.aspx?type=info) quite a few years ago for .net.

Member Avatar for Dili1234
-1
149
Member Avatar for dr_iton

Try this: public GjendjaForm() { InitializeComponent(); emriBox.Text = KlientForm.emrBox.Text; mbiemriBox.Text = KlientForm.mbiemriBox.Text; xhirollogariaBox.Text = KlientForm.xhirollogariaBox.Text; } When you `Show` the form the textboxes should thave the values.

Member Avatar for tinstaafl
0
362
Member Avatar for Subha1983

One quick and easy way, is to use the designer to create all your controls, and adjust any properties. Open the designer file(i.e. Form1.Designer.cs) and copy everything in `private void InitializeComponent()`, and put it into your main code file(i.e. Form1.cs), right after `InitializeComponent();`, now delete all the controls from the …

Member Avatar for Ancient Dragon
0
373
Member Avatar for killer88

First off your question should probably be in the VB.net forum. That being said here's some [material](http://msdn.microsoft.com/en-us/library/aa833165%28v=vs.90%29.aspx) on building a database in VB 2008, for you to read. Once you have some code that you have a hard time getting it to work let us know.

Member Avatar for tinstaafl
0
149
Member Avatar for brock.holman.7

The easiest is probably a `For Loop` any C++ reference can show you how to use it.

Member Avatar for Gonbe
0
137
Member Avatar for ImZick

This might work for you: Public Sub GetTotals(ByVal Name As String) Dim Visits, Calls As Integer Visits = 0 Calls = 0 For Each Itm As ListViewItem In ListView1.Items If Itm.Text = Name Then Visits += Val(Itm.SubItems(1).Text) Calls += Val(Itm.SubItems(2).Text) End If Next MessageBox.Show("Visits - " + Str(Visits) + vbNewLine …

Member Avatar for ImZick
0
281
Member Avatar for monching

Which control has the focus when you want to read the keypress? You should be using the keypress event for that control to trigger the click event for the button.

Member Avatar for monching
0
480
Member Avatar for WDrago

When you use the variable precede it by the class name it's in. For instance, if the your main form is `Form1`, you'd use it, `Form1.MyVariable`.

Member Avatar for WDrago
0
106
Member Avatar for ironbrew

simple input validation: bool temp = false; while (temp == false) { Console.Write("Input value for position [{0}, {1}] : ", i, j); temp=double.TryParse(Console.ReadLine(),out myArray[i, j]); }

Member Avatar for ddanbe
0
399
Member Avatar for Fame95

When I try your code it doesn't duplicate the problem you mention. But when I switch the values in lines 25 & 26 I get one "int" in black and one in red. Whenever I click on any of the first 4 characters(including the space) it reports black and on …

Member Avatar for Fame95
0
372
Member Avatar for minipop4747

> you haven't show any proof of effort. Which apparently includes searching other posts in this forum.

Member Avatar for ChrisHunter
0
175
Member Avatar for adham.kemary

Seeing as how Microsoft doesn't allow downloads of the Express version of VB6.0, which is antiquated technology at best, you'll have to get the current express version which is either [2008](http://www.microsoft.com/en-ca/download/details.aspx?id=3092) or [2012](http://www.microsoft.com/en-ca/download/details.aspx?id=34673) depending on you computer. Which if you're just learning would be the preferred way to go, since …

Member Avatar for tinstaafl
0
129
Member Avatar for choudhuryshouvi

Here's a free [installer for windows that uses disk spanning](http://www.jrsoftware.org/isinfo.php).

Member Avatar for tinstaafl
0
2K
Member Avatar for haroonrulz
Member Avatar for tinstaafl
0
55
Member Avatar for muna.nassr

This [article](http://msdn.microsoft.com/en-us/library/ms143551.aspx) describes using the `.Write` method to send a byte array over a serial port.

Member Avatar for tinstaafl
0
369
Member Avatar for Waledon

Here's an [article](http://www.codeproject.com/Tips/378657/Quickest-way-to-create-a-NET-database-application) on managing a database in.net. the code is in C# but it shouldbe relatively easy to understand.

Member Avatar for poojavb
0
105
Member Avatar for WDrago

Are you trying to load the info manually or automatically? What format is the info stored in? What code have you attempted so far?

Member Avatar for tinstaafl
0
610
Member Avatar for asshole55

This [post](http://www.vbforums.com/showthread.php?623929-RESOLVED-Layer-rendering-%28image-program%29) should have the info you need.

Member Avatar for tinstaafl
0
130
Member Avatar for brock.holman.7

Here's a little psseudo code that might help you with the logic, the specific code is up to to you. I assumed the guesses are to be whole numbers, if not don't reduce the guess to an integer. max=100 min=1 guess loop until 7 guesses are done guess = int((max-min)/2) …

Member Avatar for brock.holman.7
0
141
Member Avatar for masocha

Did any toolbars come preinstalled? Sometimes they hijack your search, and pull funny redirections.

Member Avatar for JasonHippy
0
239
Member Avatar for ProgramGuy
Member Avatar for t2nator

is your problem with the code to delete rows, or tying the code to the button click?

Member Avatar for tinstaafl
0
150
Member Avatar for monching

instead of a while loop try changing it to a conditional statement, if datetime.Minute <> 0 then datetime.AddSeconds(-1) end if

Member Avatar for monching
0
768
Member Avatar for MutanaIK

Most if not all bar code readers will come with a specific SDK, or instructions, to interface to their reader

Member Avatar for tinstaafl
0
172
Member Avatar for Lewelljo

try this: `LimitString = value.ToString("e5", CultureInfo.InvariantCulture)` This [article](http://msdn.microsoft.com/en-us/library/dwhawy9k%28v=VS.100%29.aspx#DFormatString) gives more info on formating numbers into strings.

Member Avatar for tinstaafl
0
99
Member Avatar for foobar1337
Member Avatar for t2nator

Then again where to want your future to go? If you expect to do a lot of cross platform programming then keeping your knowledge of C++ will be more important. If you expect to do strictly Windows, then relearning how to do things in VB will be more important. If …

Member Avatar for Ancient Dragon
0
176
Member Avatar for ImZick

You might want to consider using `.SelectedText` instead of `.Text`, if `.Text` isn't giving you the right result.

Member Avatar for tinstaafl
0
199
Member Avatar for hunain261

Here's a thought, check the Unanswered posts here. There's always someone there with ideas and no code.

Member Avatar for tinstaafl
-1
427
Member Avatar for ImZick

try something like this: For Each CB as Combobox in Me.Controls.ofType(Combobox) Select Case CB.Name.Length-7 case1 ' Combobox1 etc ....

Member Avatar for TnTinMN
0
196
Member Avatar for Prysm[VA]

The main difference is getchar returns the next character entered, getline waits for a newline character before returning. Which one to use depends on your needs.

Member Avatar for Ancient Dragon
0
3K
Member Avatar for Minko

one other thing to try, is when you call the routine in the module, pass the `Form1.Handle` as a parameter. You should be able to control it then.

Member Avatar for Minko
0
2K
Member Avatar for Ariah17

You could use `C:\Documents and Settings\All Users\Application Data`. Or you could find the user name with `SystemInformation.UserName` and replace `All Users` with it in that path.

Member Avatar for TnTinMN
0
155
Member Avatar for swathi sajja

[Click Here](https://www.google.ca/search?q=videolan+forums&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a)

Member Avatar for TnTinMN
0
3K
Member Avatar for SteveyD

Try this: DateTime now = DateTime.Now; //get the current time //The DateTime constructor goes (YYYY, MM, DD, HH, MM, SS) DateTime start = new DateTime(now.Year, now.Month, now.Day, 00, 00, 00); DateTime end = new DateTime(now.Year, now.Month, now.Day, 17, 25, 00); DateTime start1 = new DateTime(now.Year, now.Month, now.Day, 23, 59, 00); …

Member Avatar for Momerath
0
100
Member Avatar for Randomishlying

With the chassis fan being faulty you could be looking at an overheating problem. Maybe not enough to create an alarm but enough to make things go wonky. Opening the case to reset the bios could be releasing the heat allowing things to work properly until they heat up again.

Member Avatar for david.phillips.902
0
277
Member Avatar for ramya nadarajan
Member Avatar for 2mhzbrain

If the date is 'Date' data type, then try converting the string to 'Date' type before you submit it. You can use `CDate` function to convert it.

Member Avatar for AndreRet
0
270
Member Avatar for Siberian

First off VB script is only a subset of VB, which may make your job even harder. Second of all in regards to not knowing VB or VB script, no time like the present :)

Member Avatar for Siberian
0
156
Member Avatar for siralv1

it looks like most of your variables are there, the values in your comboboxes should still be there, date and time you can get from your datetime picker, the return status from the checkbox. Looks like all you need is a variable to combine all the different fare variables. Considering …

Member Avatar for james6754
0
278
Member Avatar for X_MARYLIN
Member Avatar for HibaPro

Have you seen this [blog](http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx)? or this [article](http://support.microsoft.com/?id=811889)

Member Avatar for AndreRet
0
102
Member Avatar for patra.pritam

Without knowing what it's doing wrong, it's hard to say what errors you have. A couple of obvious things I noticed, `strstore` should be declared as `Boolean` not `String`, and `strpattern` should be declared as `String` not `Boolean`. In fact for efficiency you should probably try to avoid declaring variables …

Member Avatar for Reverend Jim
0
789

The End.