Forum: VB.NET Oct 17th, 2006 |
| Replies: 8 Views: 54,400 Hi,
PHP is a server side web scripting language where you don't have direct access to client side web controls like text and combo boxes. What you should do is to put <input> tags in a <form... |
Forum: VB.NET Aug 13th, 2006 |
| Replies: 1 Views: 5,534 Hi,
If you want to avoid DB access for tips you can fill a dataset with a datatable containing the tips table for once and use save DataSet.WriteXML() to export the data to XML format. Then for... |
Forum: VB.NET Aug 9th, 2006 |
| Replies: 3 Views: 14,640 Hi,
I think you would need to write your own CSV parser using String.Split and not use OLEDB Text Driver (eventhough there might be a parameter for the connection string to fix this, check text... |
Forum: VB.NET Aug 9th, 2006 |
| Replies: 2 Views: 7,722 Hi,
Any code you will write on server side (ASP.Net) will cause a round trip to the server (page refresh) and anything you do on the client side with JScript won't affect the real datagrid... |
Forum: VB.NET Aug 5th, 2006 |
| Replies: 6 Views: 4,682 Hi,
Will you need E-16 precision at your result ? If not use standart routines (and Math.PI)but at the end round the number to E-14 (14 digits after decimal point) precision.
Loren Soth |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 4 Views: 1,875 Hi,
Try using ListBox1.Items.Text to get all the listbox items ina single string separated by CRLF.
Loren Soth |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 5 Views: 18,974 Hi,
You can use System.Threading.Thread.Sleep(200) in the inner loop along with Application.DoEvents() to avoid CPU overhead.
Loren Soth |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 3 Views: 2,469 Hi,
You can generate wrapper COM objects for your .Net classes just like you can import COM objects with wrapper .Net classes (google it or look for Interop on MSDN) but you have to have .Net... |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 1 Views: 1,057 Hi,
You must deploy and register the MSHFlexGrid COM object's DLL with your setup; you might use .Net's built-in grids to avoid that with a little bit of recoding.
Loren Soth |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 4 Views: 10,997 Hi,
You can use Server.Transfer instead of Response.Redirect to save a server round trip each time.
Loren Soth |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 1 Views: 6,483 Hi,
Try these : delete the select case parts and change the itm.Text on the ifs to a private variable (lets say iText), and put the following before "if iText = mySearch..."
if e.Column = 0... |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 2 Views: 3,101 Hi,
I am a little bit rusted on MS Office COM objects but you can try to select some range or the whole Sheet1 and call the equivalent COM function of paste special with parameters specifying... |
Forum: VB.NET Jul 27th, 2006 |
| Replies: 1 Views: 1,860 Hi,
You should check wether your application is executed with a command line parameter; which should be the name of the file clicked.
Loren Soth |
Forum: VB.NET Jul 11th, 2006 |
| Replies: 2 Views: 1,999 Hi,
Are you trying to setup a server socket on port 0 ?
Loren Soth |
Forum: VB.NET Jul 11th, 2006 |
| Replies: 5 Views: 4,907 Hi,
You can generate an SQL statement "Select * from tbl_Qualifications where tutorID = xxx" and fill a dataset with the result and show it using a datagrid control.
Loren Soth |
Forum: VB.NET Jul 11th, 2006 |
| Replies: 5 Views: 4,907 Hi,
You might achieve a similar functionality by coding your sub froms as UserControls; choose Project->Add User Control.
Loren Soth |
Forum: VB.NET Jul 10th, 2006 |
| Replies: 7 Views: 2,737 Hi,
1. There are 294 DLL files on my VS.Net 2003 Installation folder; and normally your compiler should be self complete because gcc and other compilers containt all the code compilation logic... |
Forum: VB.NET Jul 9th, 2006 |
| Replies: 1 Views: 2,356 Hi,
You can use data bindings to relate a control to a dataset field. You can use PasswordChar property of textBox class to make the entered characters shown as asteriks or something else.
... |
Forum: VB.NET Jul 9th, 2006 |
| Replies: 1 Views: 1,291 Hi,
In .Net world the only better thing is C#. They both generate equivalent MSIL code when compiled but VB.Net doesn't support unsigned types and some other syntactic and type related concepts... |
Forum: VB.NET Jul 9th, 2006 |
| Replies: 5 Views: 60,923 Hi,
You can use SelectedIndexChange event of ListView class.
Loren Soth |
Forum: VB.NET Jul 9th, 2006 |
| Replies: 7 Views: 2,737 Hi,
Check those keywords Lex, Yacc, Bison (GNU), Coco/R. Basicly you need a parser and lexer (lexical analyser) first. DB and Net are simply features you will provide with your runtime library... |
Forum: VB.NET Apr 19th, 2006 |
| Replies: 7 Views: 36,670 Hi,
To insert a checkbox to every row you must add a template column to your data grid.
Loren Soth |
Forum: VB.NET Apr 19th, 2006 |
| Replies: 1 Views: 2,283 Hi,
It is difficult to say anything w/o seeing the code but as you know Word application is a COM Automation Server and every documents opened are too. If you have a Word application open even... |
Forum: VB.NET Apr 11th, 2006 |
| Replies: 2 Views: 1,964 Hi,
Private tb as Textbox
Public Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
tb = New TextBox
tb.Parent = sender.Parent
... |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 2 Views: 6,961 Hi,
You need to use a header template on your datagird. Google it.
Loren Soth |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 8 Views: 54,400 Hi,
x=combobox.text
Loren Soth |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 14 Views: 12,371 Hi,
Try :
extApplication = System.Diagnostics.Process.Start("winamp.exe http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=8234&file=filename.pls")
You might need to put full path to... |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 4 Views: 2,056 Hi,
Dim timer1 As Timer = new Timer
This will cure the null reference.
Loren Soth |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 8 Views: 3,205 Hi,
Once you get your USB slave chip there will be a hard PCB design process waiting you. Ooops, now I googled and I remembered things that I used to know there are a whole lot of PIC variants... |
Forum: VB.NET Apr 6th, 2006 |
| Replies: 3 Views: 1,441 Hi,
Those are enough, though DirectX SDK isn't required if you won't use it; but I suggest Visual Studio .Net 2003 or greater with MSDN Help installed if you are new to .Net coding.
Loren Soth |
Forum: VB.NET Apr 5th, 2006 |
| Replies: 4 Views: 2,198 Hi,
Just create a string array of your searched words and for each token parsed call searched_words.indexOf(this_token). Something like this
Dim s As string = (New... |
Forum: VB.NET Apr 5th, 2006 |
| Replies: 14 Views: 12,371 Hi,
This is an easy one; you don't even use the :
---
Dim myProcess As Process = New Process
myProcess.StartInfo.FileName = "winamp.exe"
---
System.Diagnostics.Process.Start("...") returns... |
Forum: VB.NET Mar 31st, 2006 |
| Replies: 1 Views: 3,511 Hi,
Change to :
MessageBox.Show(ex.Message, "Error")
Loren Soth |
Forum: VB.NET Mar 31st, 2006 |
| Replies: 8 Views: 3,205 Hi,
I was busy lately, if all you need is +5V regulated power (which I don't think so because there are easier ways) you don't need the controller, even if you need one way communication you... |
Forum: VB.NET Mar 27th, 2006 |
| Replies: 3 Views: 1,508 Hi,
Here is my two cents :
Don't use file based DBs (Access,Paradox) use client server DB (MSSQL, MySQL). Don't let the clients execute insert or updates directly on DB but make them use... |
Forum: VB.NET Mar 26th, 2006 |
| Replies: 1 Views: 2,935 Hi,
First of all this forum allows me to answer in terms of VB.Net (or in C# at best) if you need an answer on unmanaged code you must post to c/c++ or vb6 forums. Second what you ask has lees to... |
Forum: VB.NET Mar 26th, 2006 |
| Replies: 4 Views: 2,198 Hi,
Dim aStreamReader As System.IO.StreamReader = New System.IO.StreamReader("file.txt")
For Each s As String In aStreamReader.ReadToEnd().Split(" ")
'Process your space delimited tokens here
... |
Forum: VB.NET Mar 24th, 2006 |
| Replies: 8 Views: 3,205 Hi,
With HW I ment hardware but you are right HW is the acronyme for homework ^_^;
Using "purely" VB.Net or any .Net language it is impossible as .Net framework doesn't containt hardware... |
Forum: VB.NET Mar 23rd, 2006 |
| Replies: 1 Views: 13,041 Hi,
http://www.codeproject.com/vb/net/Comport_made_simple.asp
http://www.microsoft.com/downloads/details.aspx?FamilyID=075318ca-e4f1-4846-912c-b4ed37a1578b&DisplayLang=en
... |
Forum: VB.NET Mar 23rd, 2006 |
| Replies: 8 Views: 3,205 Hi,
For USB case you most likely need to write your device driver which is impossible in VB.Net yet you might acquire a handle to the unknown USB device (that's what Win will call your device if... |