Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
1 Endorsement
Ranked #858
Ranked #1K
~12.4K People Reached
About Me

I love programming. Done it all my life. I also enjoy showing others how to do something that can help them solve a problem or give them further insight.

PC Specs
undisclosed
Member Avatar for kothaisaravan

You could always save each field by using [CODE] SaveSetting(My.Application.Info.Title.ToString, "SearchForm", "Textbox1", textbox1.txt) ' Do a version of the line above for each field you want to save [/CODE] Then when you reload the form put the following in the load event [CODE] Textbox1.text = GetSetting(My.Application.Info.Title.ToString, "SearchForm", "Textbox1", "(default)") [/CODE]

Member Avatar for cj10101
0
849
Member Avatar for swaroop.striker

So there are a couple of ways to validate the format of an email address. You could always to the simple look for the @ sign and make sure there is a dot (.) somewhere after the @ sign. Or the kind of cool and groovy method of using Regular …

Member Avatar for shama.shirva
0
3K
Member Avatar for lxXTaCoXxl

Another good site is at developerfusion.com [URL="http://www.developerfusion.com/tools/convert/vb-to-csharp/"]http://www.developerfusion.com/tools/convert/vb-to-csharp/[/URL]

Member Avatar for lxXTaCoXxl
0
191
Member Avatar for archelle

Is this what you were looking for: [CODE] Dim TheDateTimeRightNow As DateTime = Now Dim iMonth As Integer = DatePart(DateInterval.Month, TheDateTimeRightNow) Dim iDay As Integer = DatePart(DateInterval.Day, TheDateTimeRightNow) Dim iYear As Integer = DatePart(DateInterval.Year, TheDateTimeRightNow) Dim iHour As Integer = DatePart(DateInterval.Hour, TheDateTimeRightNow) Dim iMinute As Integer = DatePart(DateInterval.Minute, TheDateTimeRightNow) Dim …

Member Avatar for archelle
0
133
Member Avatar for lbgladson
Member Avatar for adnysam

[QUOTE=adnysam;1716396]Dear Programmers I have an issue when I place a label box / other component in the MDI Parent form and then open any child form the label box/ other component displayed in child form (Show in SpanShot), could you please help me out to regret this problem, Thanks in …

Member Avatar for adnysam
0
135
Member Avatar for OblibSystems

[QUOTE=OblibSystems;1683794]Basically im trying to make a game where shapes fall from the sky and the user controls the sprite to avoid them. I have it working but only with 1 block falling at a time. I am using the paint method to draw my shapes. I was wondering how to …

Member Avatar for the_carpenter
0
224
Member Avatar for the_carpenter

Hi... I've been doing ASP.Net for years, but I am very new at PHP. I need to redirect a user to a specific page based on the refereeing page. There's no way to calculate what the page should be so I figure I would have to use MySQL and look …

Member Avatar for chrishea
0
188
Member Avatar for cyberdaemon

You database is not set up correctly. What it sounds like you want is to have a one to many relationship between sample and tbl_educ. But you can't without having a unique field in tbl_educ. Change tbl_educ to include a new field that becomes it's primary index, so call the …

Member Avatar for cyberdaemon
0
100
Member Avatar for johndoe444

I'm going to assume you have two PC's, one with an IP address similar to 10.1.1.21 and the other 10.1.1.25. In this case both PC's are on the same network. I'm thinking that ICMP (Internet Control Message Protocol) traffic is being blocked either from the installed firewalls on your PC's. …

Member Avatar for the_carpenter
0
156
Member Avatar for bhagawatshinde

Also, give your system time to process what you've asked it to do before sending the keystrokes by inserting the following prior to the send keys: [CODE] System.Threading.Thread.Sleep(500) [/CODE]

Member Avatar for bhagawatshinde
0
1K
Member Avatar for Creatieven

It is not very clear on what you are asking. PageID? PageID of what? Permissions to what kind of pages? Are we talking ASP.net, here?

Member Avatar for the_carpenter
0
83
Member Avatar for uzn

You are creating the SqlParameter Object but you're not adding it to the Command Object. Sorry I don't have the time to look it up... but there should be some sort of method of the objCommand to add parameters to it. something like objCommand.Parameter.Add("@Name", SqlDbType.Int, 4) objCommand.Parameters["@Name"].Value = ID.ToString

Member Avatar for crapulency
0
166
Member Avatar for Kiseki

not one line of code... but a subroutine to do all textboxes. And you can make it global so it can be called from Any Form. Add a new code module to your project. Add the following code to the module: [CODE] Public Sub SetTextBoxAlignment(ByRef TargetForm As Form, ByVal tbAlignment …

Member Avatar for Kiseki
0
835
Member Avatar for jatt09

[CODE] Dim sTemp As String = "" TextBox1.Multiline = True TextBox1.Dock = DockStyle.Fill TextBox1.ScrollBars = ScrollBars.Vertical TextBox1.Font = New System.Drawing.Font("Courier New", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) For i As Integer = 1 To 222 sTemp = sTemp & String.Format("{0,6} {0, 10:X} {1, 10:C} {2, 10:C}", i, Convert.ToString(i, 8), Convert.ToString(i, 2)) …

Member Avatar for jatt09
0
184
Member Avatar for chbichib

Without the error message or output, this is just a guess. Are any of the fields in Table1 not string. You might have to convert the Textbox.Text to a double, real, or possibly date.

Member Avatar for kvprajapati
0
145
Member Avatar for Naveed_786

Please tell me you're not using in-line coded connection strings. 1: Hopefully you're using a connection string that isn't hard coded and/or in-line with your code. A. If it is, you need someway to manage and alter that connection string via your application (have an options form or administration form) …

Member Avatar for kvprajapati
0
148
Member Avatar for scias23
Member Avatar for napkinbob

Since the listbox implements IList, make a class that implements IList and connected to the listbox's datasource. For example: Here is your basic class [CODE] Public Class clsFunctionInfo Private _idxFunction As Integer Public Property IdxFunction() As Integer Get Return _idxFunction End Get Set(ByVal value As Integer) _idxFunction = value End …

Member Avatar for the_carpenter
1
253
Member Avatar for Simran Kaur

What doing the conversion? Visual Studio? Try Artinsoft Visual Basic Upgrade Companion. They have a free 1 month/ 10,000 lines of code limit. But it could get you further along.

Member Avatar for Simran Kaur
0
2K
Member Avatar for laptop545
Member Avatar for the_carpenter
0
169
Member Avatar for mustangBE

While not a great expert at importing excel data, I tried your code and it does the same thing to me as well. I'm pretty sure it something to do with the Bulk import function and it applying datatypes to each column based on what's in the first row. Is …

Member Avatar for mustangBE
0
114
Member Avatar for srice
Member Avatar for lucaazori

Without knowing the following, it is impossible to tell you what's going on: 1. The values and types of your variables: nomAudio, nomImage, nomExamen and repTest 2. What exactly is line 119 What also might help is knowing the structure of your database. At the tables AUDIO, [IMAGE], and [TEST] …

Member Avatar for lucaazori
0
189
Member Avatar for msrd

the four text boxes (tA, tB, tC, tD) one button (cmdCalculate) and one more text box with a name that doesn't start with "t" (OutputTxtAvg) [CODE] Private Sub cmdCalculate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click Dim iNumeratorCnt As Integer = 0 Dim iSum As Integer = 0 …

Member Avatar for msrd
0
93
Member Avatar for hosseinel

Why are you doing a directcast? Where did you get that from? Why aren't you ending the bindingsource's Edit by using a .EndEdit? [CODE] Me.Validate() Me.Product_DetailsBindingSource.EndEdit() Me.Product_DetailsTableAdapter.Update(Me.WhateveryourDataSetisCalled.Product_Details) [/CODE]

Member Avatar for the_carpenter
0
167
Member Avatar for zulhimi89

So you're trying to do conditional formatting of the cell based on it's value? What version of Visual Studio are you using?

Member Avatar for zulhimi89
0
93
Member Avatar for kalyan2642

These text files are they static or dynamic? If they're dynamic, I'll assume another application is supplying them and then there is little you can do. You might be able to create an ACL and limit the number of people who can use and or look at the application and …

Member Avatar for the_carpenter
0
150
Member Avatar for bettybarnes

Your missing something on your btnUpdate_Click Look at the line that reads... [CODE] ds.Tables("Personnel").Rows(inc).Item(0) = txtPersonnelID [/CODE] It's missing something, isn't it? It should be the following... [CODE] ds.Tables("Personnel").Rows(inc).Item(0) = txtPersonnelID.Text [/CODE]

Member Avatar for the_carpenter
0
167
Member Avatar for M.rahul

The axmscomm control I think has been replaced by the [B]System.IO.Ports.SerialPort[/B] control At least that's what I could find in VS 2008

Member Avatar for the_carpenter
0
63