Search Results

Showing results 1 to 40 of 48
Search took 0.01 seconds.
Search: Posts Made By: ProfessorPC ; Forum: VB.NET and child forums
Forum: VB.NET Aug 28th, 2009
Replies: 1
Views: 238
Posted By ProfessorPC
I am wanting to display the PC's System Directory in a treeview. I have been searching for how to do this for some time now without finding anything. if anybody can help me out i would greatly...
Forum: VB.NET Feb 5th, 2009
Replies: 7
Views: 1,302
Posted By ProfessorPC
only one field is displaying? if this is the case you need to add another listbox add to the loop

While dr.Read()
ListBox1.Items.Add(dr(2))
ListBox1.Items.Add(dr(3))
End While
Forum: VB.NET Feb 5th, 2009
Replies: 16
Views: 1,985
Posted By ProfessorPC
took a quick, very quick look. to add the condition you need to finish the WHERE

cmd = New OleDbCommand("SELECT * from UMP WHERE ", cn)
'to
cmd = New OleDbCommand("SELECT * from UMP WHERE field...
Forum: VB.NET Feb 4th, 2009
Replies: 16
Views: 1,985
Posted By ProfessorPC
Forum: VB.NET Feb 4th, 2009
Replies: 16
Views: 1,985
Posted By ProfessorPC
Do you already have your connection strings setup for the mdb? I will go with yes :)
are you sure that the search will only return one entry in the db? i would probably go with either a listbox or...
Forum: VB.NET Dec 3rd, 2008
Replies: 7
Views: 4,225
Posted By ProfessorPC
and this is how you reply to somebody trying to help. obviously other people have been able to figure it out. figure it out yourself.
Forum: VB.NET Dec 3rd, 2008
Replies: 7
Views: 4,225
Posted By ProfessorPC
not sure if this will help you much
http://bytes.com/groups/net-vb/356895-openfiledialog-problem
Forum: VB.NET Jun 18th, 2008
Replies: 7
Views: 689
Posted By ProfessorPC
i havent really went as far as displaying everything as its needed. I have ran into this problem of the main grp not displaying correctly. without that group there isnt much else i could really do so...
Forum: VB.NET Jun 17th, 2008
Replies: 7
Views: 689
Posted By ProfessorPC
i have stepped through the code. it hits the code to set visible = true but after continuing and i mouse over the visibility is still set to false. very odd.
Forum: VB.NET Jun 17th, 2008
Replies: 7
Views: 689
Posted By ProfessorPC
I have a groupbox grpmain that will not display. Some other objects are not displaying as well but the main one is the grpmain.
Forum: VB.NET Jun 16th, 2008
Replies: 7
Views: 689
Posted By ProfessorPC
hello,
I am having a problem getting all of my items to display correctly. I have a form that has a combobox. When this combobox changes I need to display different items on the form. This is the...
Forum: VB.NET Jun 5th, 2008
Replies: 2
Views: 554
Posted By ProfessorPC
is this in response to another thread? You can reply in the original thread instead of creating a new one.

This is for VB.NET. This is what you are using correct? This allows .NET to talk to the...
Forum: VB.NET May 31st, 2008
Replies: 2
Views: 2,742
Posted By ProfessorPC
i have used something as easy as in the click event where you add your data on the second form just add

frmOther.refresh
Forum: VB.NET May 31st, 2008
Replies: 3
Views: 1,184
Posted By ProfessorPC
No problem. If I post a problem and find the solution I post it so others can see either how easy it is and how slow I am or the solution in general :)

I forgot to add that I had to reference...
Forum: VB.NET May 31st, 2008
Replies: 3
Views: 1,184
Posted By ProfessorPC
found the solution on microsoft of all places.


Dim i As Integer
Dim oNames As SQLDMO.NameList
Dim oSQLApp As SQLDMO.Application
oSQLApp = New SQLDMO.Application
...
Forum: VB.NET May 31st, 2008
Replies: 3
Views: 1,184
Posted By ProfessorPC
I have searched and I have searched but I can't find a way to display all instances of SQL Server in a combobox.

Any help is greatly appreciated.
Forum: VB.NET May 30th, 2008
Replies: 1
Views: 370
Posted By ProfessorPC
this is downloadable code from microsoft that will help with understand how to talk back and forth to your serial port products.
...
Forum: VB.NET May 30th, 2008
Replies: 5
Views: 1,642
Posted By ProfessorPC
would it be easier to only let the user select a date instead of insert? maybe change the textboxes to comboboxes and in the form load event do something like this:


Dim y As Date
y = Date.Today...
Forum: VB.NET May 30th, 2008
Replies: 2
Views: 1,242
Posted By ProfessorPC
i have set the sql connection info in the registry and when the user installs this on their machine they can change it in a form. ill try explaining the best i can.
when the user opens the program...
Forum: VB.NET Mar 30th, 2008
Replies: 1
Views: 499
Posted By ProfessorPC
I have found a solution. I added this to my timer_tick event

Dim countdown As Integer
countdown = mytime - 1
mytime = countdown

Me.lblTimeRemaining.Text =...
Forum: VB.NET Mar 30th, 2008
Replies: 3
Views: 471
Posted By ProfessorPC
Ancient Dragon you have enlightened me.

Thank You
Forum: VB.NET Mar 30th, 2008
Replies: 6
Views: 707
Posted By ProfessorPC
Is there anything special you need to do with these once you have located the files?
Forum: VB.NET Mar 29th, 2008
Replies: 1
Views: 499
Posted By ProfessorPC
Hello,
I have created a form that needs to work like a stop watch. The user enters the time (hrs, min, sec) then clicks the start time. I have a label that should display the time remaining. This...
Forum: VB.NET Feb 5th, 2008
Replies: 1
Views: 4,235
Posted By ProfessorPC
I have solved the problem.

I went into the dataset and changed this line of code:


me._connection = Global.MyAppName.My.MySettings.Default.MyConnString
to this

me.connection = m_connection
Forum: VB.NET Feb 4th, 2008
Replies: 1
Views: 4,235
Posted By ProfessorPC
Hello,
I am writing a program that connects to a webservers db. I have a testing db on my local machine and i add a new dataset to this local db. I have tried to go into the app.config and change...
Forum: VB.NET Jan 29th, 2008
Replies: 1
Views: 1,421
Posted By ProfessorPC
try this

Use the "Style" property -

DataGridView1.Item(ColumnIndex, RowIndex).Style.BackColor = Color
DataGridView1.Item(ColumnIndex, RowIndex).Style.ForeColor = Color

or
...
Forum: VB.NET Jan 21st, 2008
Replies: 2
Views: 1,441
Posted By ProfessorPC
That did it.
Thank you
Forum: VB.NET Jan 21st, 2008
Replies: 2
Views: 1,441
Posted By ProfessorPC
I am having a problem validating a date entered by user. This date must be later than todays date(at input time). I have attempted using the > (today) but this will not work if the the month is...
Forum: VB.NET Jan 16th, 2008
Replies: 3
Views: 1,543
Posted By ProfessorPC
this is a good reference
http://www.vbdotnetheaven.com/UploadFile/mahesh/XMLusingVbDotNet04222005015518AM/XMLusingVbDotNet.aspx
Forum: VB.NET Jan 13th, 2008
Replies: 5
Views: 7,541
Posted By ProfessorPC
Try this thread.

http://www.daniweb.com/forums/thread103912.html
Forum: VB.NET Jan 12th, 2008
Replies: 5
Views: 958
Posted By ProfessorPC
when you debug are you making sure that the username is actually being set? test this first. sounds like something is empty.
Forum: VB.NET Jan 12th, 2008
Replies: 1
Solved: Marquee?????
Views: 2,656
Posted By ProfessorPC
I have used this as an example to create a marquee:

http://vbcity.com/forums/faq.asp?fid=15&cat=Forms&#TID78584
Forum: VB.NET Jan 12th, 2008
Replies: 5
Views: 958
Posted By ProfessorPC
I have used this code when a row in the datagrid is doubleclicked.


Private Sub dgvOrders_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs)

orderid =...
Forum: VB.NET Jan 11th, 2008
Replies: 2
Solved: DLL file
Views: 1,354
Posted By ProfessorPC
I have used this page as a reference in creating dll's

http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx
Forum: VB.NET Jan 10th, 2008
Replies: 1
Views: 739
Posted By ProfessorPC
try importing:

System.Object
System.Attribute
System.CLSCompliantAttribute


then adding this code:
Forum: VB.NET Jan 10th, 2008
Replies: 1
Views: 3,193
Posted By ProfessorPC
Try this page.
http://www.oracle.com/technology/pub/articles/cook_dotnet.html
Forum: VB.NET Jan 10th, 2008
Replies: 6
Solved: Data transfer
Views: 1,531
Posted By ProfessorPC
Thank You!
Forum: VB.NET Jan 8th, 2008
Replies: 11
Views: 8,296
Posted By ProfessorPC
If you are using VS you can drag an OpenFileDialog, 3 buttons, textbox and a picturebox to your form.
With your first button (Browse). In this buttons click event add

OpenFileDialog.Title = "Get...
Forum: VB.NET Jan 8th, 2008
Replies: 1
Views: 9,821
Posted By ProfessorPC
I am getting this message:
value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn"
when I am trying to add a column to the dgv


Dim...
Forum: VB.NET Jan 7th, 2008
Replies: 2
Views: 4,970
Posted By ProfessorPC
What version of Access are you using? I believe 2007 is the only version to allow saving an image. You could save the image in a folder and place the image path in the db and pull it that way.
Showing results 1 to 40 of 48

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC