Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
0 Endorsements
Ranked #914
~14.9K People Reached
About Me

Software developer

Interests
TV, movies, and driving.
PC Specs
ASUS P5Q-Pro with Intel Q9550 with 8GB of memory running Windows Server 2008 Enterprise shown through…

47 Posted Topics

Member Avatar for jd2369

We do something similar where we use the first set of code (modified for your scenario). If the first set works, try the second set too. [code] Dim okButton As HtmlElement = WebBrowser1.Document.GetElementById("OK") okButton.InvokeMember("click") [/code] And [code] WebBrowser1.Document.GetElementById("OK").InvokeMember("click") [/code]

Member Avatar for thines01
0
192
Member Avatar for mpathma

First off, is the control "OvalShape1" initialized? Secondly, instead of looping through like that, do a [CODE] For ctl as Control in me.controls if typeof(ctl) is OvalShape andalso ctl isnot nothing then ctl.Size = new Size(20,20) end if Next [/CODE] Thirdly, if you're using .Net 3.5 and on you can …

Member Avatar for Reverend Jim
0
353
Member Avatar for dre-logics

From looking at your loop statement I think I can provide a solution so long as your loop is not removing items from the datatable. Try the following: [CODE] For Each drRow As DataRow In dtTemp.Rows listbox1.Items.Add(drRow.Item("ColumnName").ToString) Next[/CODE] With this you wont have to use MoveNext or even the data …

Member Avatar for SamR44
0
5K
Member Avatar for Tweed

You have to cast the items to the checkbox type in order to access its abilities. Use: [CODE]CType(Me.Controls.Item(chkbox1),CheckBox)[/CODE] or [CODE]DirectCast(Me.Controls.Item(chkbox1),CheckBox)[/CODE] or [CODE]TryCast(Me.Controls.Item(chkbox1),CheckBox)[/CODE] If you have other controls, then you need to do a check before you cast: [CODE]For each ctrl as control in me.controls if TypeOf(ctrl) is CheckBox then 'case …

Member Avatar for Tweed
0
1K
Member Avatar for Stevoni

I've deployed a desktop application utilizing 3rd party dll's to a test terminal server in order to report its viablity. In my testing I've received this error: [QUOTE]An unhandled exception of type 'System.IO.FileNotFoundException' occurred in General Purpose.dll Additional information: Creating an instance of the COM component with CLSID {8EB296F1-6C46-4BC1-9F00-B49F14B57DB8} from …

0
38
Member Avatar for Stevoni

Any suggestions on how to edit the Bios caption field? I've been requested to do so for a customer and the Win32_Bios class has the caption set as read only. I've yet to find anywhere on how to set this in Windows PE. Apparently it's been done somehow before, I'm …

0
70
Member Avatar for Stevoni

Let me preface this by saying that I've only taken 1 formal programming class and everything else I've learned is from trial and error or Google (forums, blogs). I have never taken an algorithm class or an advanced math class. In the process of making my current application, I need …

Member Avatar for Stevoni
0
172
Member Avatar for TommyTran

Have you looked into using the String.Split function? Do Sentance.Split(" ") and it will return an array with the delimiter being the space, which is exactly what you need. Just take the Array.Length-1 and you have your total number of words. Otherwise, you'll have to loop through each character in …

Member Avatar for Stevoni
0
72
Member Avatar for tanvirahmad

I think you can accomplish this with relative ease. First, create a new component, naming it whatever you want to call your new textbox control. Second, in the designer (must have "Show All Files" selected for the project/solution) replace "Inherits System.ComponentModel.Component" with "Inherits System.Windows.Forms.TextBox". Third, back in the non-designer file, …

Member Avatar for Stevoni
0
99
Member Avatar for Stevoni

I'm normally a VB.Net/C# guy but because of a third party dll that isn't working in .Net, I'm having to interact with it using C++. I'm able to read and understand (for the most part) C and C++, but I've never actually written any code in it. The third party …

Member Avatar for Ancient Dragon
1
232
Member Avatar for pysdex

You're going to have to do a check for each symbol and I'm sure you could probably come up with a more dynamic way of doing this to incorporate multiple operations. But here's one of many options that can be done in order to do addition. [CODE] Dim sTemp As …

Member Avatar for Ranx
0
90
Member Avatar for JAM1011

I think you need to wrap your search string with %. I regularly reference [URL="http://www.1keydata.com/sql/sql.html"]this page [/URL] for SQL information and it says your statement should be as follows: "LastCus = "Select * from tblCustomer where ((Cus_Name Like '%James%'));" HTH

Member Avatar for JAM1011
0
164
Member Avatar for tqmd1

The following should work for you. I would recommend using the column name if it is a dynamic column otherwise I would use the design time created column index location, rather than saying "Search only column 1". I say this because the user may re-order the columns and column 1 …

Member Avatar for tqmd1
0
125
Member Avatar for saras5

Are there some ideas you've thought of already? What is your level of expertise (i.e. how comfortable are you in .Net)? What are your interests? Are there requirement for this homework? Answer these questions and I can give you some suggestions.

Member Avatar for Stevoni
-1
67
Member Avatar for tqmd1

I'm not quite sure what you're looking for but I'll give it a shot. After updating some code from a co-worker, I've had to begin using defensive coding practices so this may be overkill, but it should cover all of the possibilities. My co-worker would set Textbox.Text = nothing when …

Member Avatar for Stevoni
0
101
Member Avatar for Progr4mmer

Take a look at [URL="http://vb.net-informations.com/communications/vb.net_socket_programming.htm"]this[/URL] as a good starting point. There are also a lot of examples if you use a search engine. To "crash" your server, just stop the server application or close the socket.

Member Avatar for Progr4mmer
0
140
Member Avatar for jlego
Member Avatar for Mayur Mittal

If you don't have to validate any of the data before entering it (like we do here) you could probably skip the temp table and load directly from reading the file into memory and passing it to the API. If you do have to validate any information or need multiple …

Member Avatar for Stevoni
0
130
Member Avatar for tqmd1

Something like the following should work for you: [CODE] Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress e.Handled = e.KeyChar = CChar("0") End Sub Private Sub TextBox2_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox2.KeyPress e.Handled = Not (e.KeyChar = CChar("Y") Or e.KeyChar = CChar("N")) …

Member Avatar for Stevoni
0
116
Member Avatar for achu236

What is "btech"? How about employee time tracking application? It could consist of an Access or SQL database with a few tables and would involve both looking up and modifying the data. At the end of each pay period, it could output the amount the employer should pay. You could …

Member Avatar for achu236
-1
81
Member Avatar for mcatest

How similar do the forms need to be? If they're almost identical, find the common elements and create a base form. From there create inherited forms using the base form, adding the changes as necessary to the higher level forms. Doing so will having the base form changes effect the …

Member Avatar for Stevoni
0
71
Member Avatar for pratidnya

Use the same SQL statement used to create the table on the server and pass that through your code. When the application exits (whether purposefully or not) the table should be deleted. I unfortunately, haven't done so in the past but after a quick search, I've found [URL="http://www.vbdotnetheaven.com/UploadFile/manishkdwivedi/creatingTable04192007052320AM/creatingTable.aspx"]this[/URL] post that …

Member Avatar for Stevoni
0
76
Member Avatar for Warragul

It looks to me that you're not populating Client, thus the application is running properly since "Longvue" and "Roseleigh" aren't in the string Client. Set the client value to something and you should be good to go.

Member Avatar for Stevoni
0
163
Member Avatar for bsc505

You could change the integer definitions to be set to 0 every time so that it will always set them to 0. I.e: [CODE]Dim totalA08minus As Integer = 0[/CODE] I don't necessarily see this being the issue, but from what I can tell, it should be working properly. As a …

Member Avatar for Stevoni
0
100
Member Avatar for Stevoni

I have a DataGridView for user input into a form. The first two columns will always be visible as they are the Transaction Type and Transaction Sub Type, respectively, both of which are DataGridViewComboBoxColumns's. Currently, after the first combo box has been changed the second combo box will populate with …

0
77
Member Avatar for Stevoni

This is a request for any experience with software, suggesting software, or suggestions to solutions for the problem listed below. We've recently integrated a repair facility into our large volume deployment (lvd) facility and our current software is not up to the task. [b]Background[/b]: The lvd has been using crm/manufacturing …

Member Avatar for renan19
0
202
Member Avatar for deboogeek

Are these "columns" separated by anything, like a comma? If so, you can open it up in Excel and use excel to paste the new word into all the rows. You may need to changed the file extension (the .txt) to ".csv" in order to Excel to handle it correctly.

Member Avatar for Shtanto
0
320
Member Avatar for mansi sharma

Let me preface this by saying that I've done some searching for you as they'll probably give better explanations that I will. If you have anymore questions after reading the links, then come back and we'll attempt to answer them. Good luck in your interview! 1) [URL="http://lmgtfy.com/?q=versioning"]Google search, select the …

Member Avatar for sknake
0
144
Member Avatar for ramabala

Using the KeyPress event, you can trap any value that the user types. So here's the code to handle the quotation: [code=vb] Private Sub TextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox.KeyPress If e.KeyChar = Chr(34) Then e.Handled = True End Sub[/code] where TextBox is the name of …

Member Avatar for Stevoni
0
69
Member Avatar for bist

Perhaps you could give us some insight into what you like and we can give you some suggestions. Also, try considering editing your original post with proper English in order to receive more responses.

Member Avatar for Stevoni
0
80
Member Avatar for chandiusjp
Member Avatar for samir_ibrahim
0
257
Member Avatar for nolesce

I'm in the middle of debugging my current app, so I can't throw together a test to try out your problem, but we can go with the other solution I had mentioned in the previous post of adding handlers. What events are going to capture from the child form? Once …

Member Avatar for Stevoni
0
104
Member Avatar for hery

There's nothing wrong with your Visual Studio. Somewhere, your friend is creating a variable just like you. Otherwise an exception would occur (I believe it's the NullReferenceException) because the form hasn't been initialized before calling the Show() method. I have to note though, I haven't messed with .Net above 2.0 …

Member Avatar for GeekByChoiCe
0
459
Member Avatar for nolesce

For something like this, I usually create a property on the child that will give the information to the outside world and create the childform with a variable parent form withevents variable or add a handler to the form close event. Then, in the parent form, trap the form closing …

Member Avatar for nolesce
0
103
Member Avatar for soeppp

[QUOTE=GeekByChoiCe;951540]if you want to use just one Key you can do this via the "text" property. if you set the button text to My&Button then "b" will be the shortcut. hope it helps[/QUOTE] To piggy back what he said, you must also have UseMnemonic on the button set to true …

Member Avatar for Stevoni
0
2K
Member Avatar for staticvoyager

[QUOTE=fuego2008;951630]This web site may help you: [url]http://sites.google.com/site/supercodebank/home/vb_net[/url][/QUOTE] How'd you come across that site? That's a great resource!

Member Avatar for fuego2008
0
84
Member Avatar for kavehh

I had a similar problem with my additional RAM (when I went from 4 to 8 GB), I had to increase the voltage on the RAM (to the manufacture recommendation) via the motherboard BIOS and it's been working perfectly ever since. Try that.

Member Avatar for Stevoni
0
160
Member Avatar for realone

[QUOTE=sknake;941204]"[b]Inherits[/b] System.Windows.Forms.Form" did you intend inherits or did you mean "import"? Also use [icode]System.Windows.Forms[/icode] and dont repeat the last class name.[/QUOTE] I think it's part of a form where he discarded the class name but left the inheritance modifier. :confused: To the OP, do you get the same error when …

Member Avatar for Stevoni
0
94
Member Avatar for Ana D.

[QUOTE]Does anyone have any ideas about what is wrong?[/QUOTE] You need to use the do/while or do/until loop instead and use an integer value to loop through all the items. Because the for loops store the top number at the beginning of the enumartion, deleting a row should not be …

Member Avatar for Stevoni
0
154
Member Avatar for lolwtf

How are you wanting it to be serialized is a good follow-up question? It's possible to use both binary serialization of any object or xml serialization (of which I've only used on datatables). If you just want to send strings through a socket, then I would use the following: [code=vb]ByteArrayToSendToSocket …

Member Avatar for Stevoni
0
296
Member Avatar for xVent

Place the questions and radio button in separate group boxes. I wish I could give you the nice answer for why this is the way it is, but I can't formulate it. Sorry, I'm tired. :yawn: Like so: _____________ |Question 1: | O Answer1 | O Answer2 |____________ _____________ |Question …

Member Avatar for Stevoni
0
100
Member Avatar for Kecy

If I remember the documentation correctly the error I received when installing SQL Server 2008 Developer Edition with the Windows Firewall had to do with the default ports not being open. Once the installation is done make sure the firewall has the proper ports open for remote access to the …

Member Avatar for sknake
0
92
Member Avatar for caramel91

I'm by no means an expert, I started like you with reading books though, and the best advice I had been given was find an app that you want and make it. Because of that I made an app that sent me an e-mail when the my computers IP address …

Member Avatar for calsey
0
109
Member Avatar for kerek2

Have you tried looping through the listbox's items property with an integer to keep track of the count? The code would be like this: [code=vb] Dim IntegerVariable as integer = 0 if TheListBox.Items.Contains("LookForMyString") then For each obj as object in TheListBox.Items If obj.tostring = "LookForMystring" then IntegerVariable+=1 'or 'If Obj.ToString= …

Member Avatar for GeekByChoiCe
0
161
Member Avatar for dublinus

I had the similar problem with a Pervasive ODBC adapter, have you tried opening the connection before Executing the query? I.e.: [code=vb] command.prepare() cn.open() command.ExecuteNonQuery() if not cn.State = ConnectionState.Closed then cn.Close() [/code]

Member Avatar for Stevoni
0
308
Member Avatar for xVent

Could you post some code of your procedures so we can see what's causing the problem?

Member Avatar for xVent
0
75
Member Avatar for sonia sardana

If you're only going to have 1 root node then I would go with a TreeView1.Sort() before TreeView1.ExpandAll(). If you have more than 1 root node, then the root nodes will be sorted as well so you may have to throw them into a list and sort the list then …

Member Avatar for Stevoni
0
471

The End.