all groups > vb.net > february 2004 > threads for sunday february 29
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
execute statement
Posted by TJS at 2/29/2004 11:16:15 PM
trying to use code below to create dynamic variables but no success, what am
I missing ?
--------------------------
for i = 0 to 2
dim vString as string = "Dim submenu" & Cstr(i) & " As New
skmMenu.MenuItem(" & tab.TabName & ", """")"
EXECUTE (vString)
next
... more >>
Writing client-server sysetem using VB.NET
Posted by Chin Fui at 2/29/2004 11:15:23 PM
I am now doing my final year project using VB.NET. The project is about
implement a multiplayer network game. But now I am stuck in the connection
part, no idea in how to start to write the network application. Hope anyone
can give me any hint or help...
Thank you...
Chin Fui
... more >>
Accessing forms controls in module
Posted by Phil at 2/29/2004 11:12:02 PM
Hi all,
If I remember correctly, in VB you can refer to your controls from a module
simply by referring to ControlContainer, ie. Form1.Textbox1.Text =
"something".
I have added a module to my project in .Net and I cannot access any of my
controls in Form1. In fact referring to Form1 brings ... more >>
how to save copy of project from inside visual studio
Posted by Richard Bell at 2/29/2004 11:08:16 PM
I'm new to visual studio. Is there an easy way to 'snap shot' a copy
of a project from inside visual studio?
Thanks
... more >>
Finding string in text file
Posted by Phil at 2/29/2004 9:36:32 PM
Hi,
Is there a 'shorter' way to find a string within a text file without
'testing' each character or using the LineInput function. Does the
StreamReader have any search facility?
Thanks,
Phil
... more >>
Skinning
Posted by CJ Taylor at 2/29/2004 7:12:29 PM
I've been googling this for awhile, but can't seem to find anything really
solid on skinning a windows forms app. I know how to skin the internal
stuff but would like to see an example of stuff like the titlebar and
pushbuttons, etc...
Thanks,
CJ
... more >>
Cannot get rid of these exceptions
Posted by Patrick Penet at 2/29/2004 7:05:06 PM
Again I need your help, cuz I'm out of idea !
I get an error at runtime at the indicated line :
System.NullReferenceException occured in MyApp.exe
If I continue, I get :
System.TypeInitializationException occured in unknown module ...
Help on these matters is chinese to me.
In a standa... more >>
Disposing of a log in window
Posted by damianm NO[at]SPAM webaware.com.au at 2/29/2004 6:42:37 PM
Hi !
I am trying to dispose of the startup form in my application a login
form (frmLogin) after it calls the main form (frmMain). I cant seem to
get it to work. Here is my code.
frmLogin Code
==============
Sub btnSave_Click
Dim mainF As New frmMain
mainF.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Threading Question
Posted by Ed Bick at 2/29/2004 6:42:31 PM
I'm very green with this concept. I saw a post before which applied I
think, but I can now not find it.
I am using Mappoint, a com control which can be very slow to load. I was
thinking as a browsed through the post that I could make the form "show"
faster if I loaded the control through a s... more >>
Re :Re: ### vb.net DataGrid problem, cant make unbound columns ###
Posted by BuzzLight at 2/29/2004 4:20:37 PM
Hi I saw the help file for the DataGridColumnStyles object but after reading the overview of it I didnt understand anything... its way too complex for a beginnner like me :( Is it possible for you to give me a simple explanation.. and how I could use that object for what I want?
For people read... more >>
sending html formatted mail through vb .net
Posted by Bernie Yaeger at 2/29/2004 3:49:16 PM
The following code works fine:
Dim sr As StreamReader = New StreamReader("c:\htdogpro\bhome.htm")
htmstring = sr.ReadToEnd()
msg.Body = htmstring
msg.BodyFormat = MailFormat.Html ' as opposed to mailformat.text
However, if the htm file has images, they do not go along with the text
str... more >>
Class Definitions and Performance
Posted by Rlrcstr at 2/29/2004 3:08:57 PM
Is there any performance or end-result size difference if you define several
classes in a single module as opposed to defining each class in a separate
module? Thanks.
Jerry
... more >>
Word Template with XML
Posted by Michael Steffen at 2/29/2004 2:46:46 PM
Hi all,
I'm trying to create a Word Template, that reads and xml file when a new
document is created.
The xml file contains information of all employees, that use the template to
create a letter.
At startup the user should select an employee and then specific information
for that employee sh... more >>
make pop account on mail server
Posted by MailYouLike at 2/29/2004 12:42:23 PM
Hi !
i need some help and advice
i am using asp.net to make a email application it is complete but just one
thing ,
i want to create a pop account at the mail server from my scripts is
that possilbe??? by soap or some thing else ?
Please let me know and if it is possilbe can you dire... more >>
Caspol / One Touch Deployment / Security Issues - Any Idea's ?
Posted by One Handed Man at 2/29/2004 11:47:07 AM
Trying to get No Touch Deployment working, which is having a .net exe =
application on a webserver. My Asp.net page links to the .exe and when =
the user clicks on the hyper link, the exe is downloaded and executed =
locally. I've got the application downloading , but now I'm having =
trouble ex... more >>
What code can my program Email me with if a condition happens?
Posted by Trint Smith at 2/29/2004 11:01:08 AM
How can I do this if a certain event happens within my program? Can I
use a hotmail.com account or one of the tribidz.com that comes with my
hosting account? Is there a free way to do it?
Dim email As New System.Web.Mail.MailMessage
email.To = "trintsmith@hotmail.com"
email.... more >>
help someone read data from a web page
Posted by arnoldpalmer007 NO[at]SPAM yahoo.com at 2/29/2004 10:18:59 AM
Hello everyone,
sorry to invade your group. I'm only a casual VB programmer. I'm
usually using it to automate some simple text file I/O.
Sub testopenwebpage()
Const www = "http://www.eastbayexpress.com/issues/2003-09-17/music.html/1/index.html"
Dim EachLine
Open www For Input As #4
Do While... more >>
Browser Control Events ?
Posted by meh at 2/29/2004 10:14:22 AM
What are the best events to hide and unhide the progressbar when navigating
to web pages using the AxWebBrowser control. I have tried a couple of
events i.e. BeforeNavigate2 to set the pbar.visible to True and the
DocumentComplete to set pBar.Visible to False but none seem to function the
way I... more >>
'Sub Main' was not found ....
Posted by Pavel at 2/29/2004 8:56:06 AM
Hi
I'm new with vb.net
I've got application of single form 2 buttons and text field
When I try to run my progra
I get the following messag
'Sub Main' was not found in 'LoanCalculator.Form1'
Where should I put Sub main and what should it contain
Thank you in advance
Pavel... more >>
Regular Expression brain teaser
Posted by genojoe at 2/29/2004 8:16:10 AM
Is there a way to substitute for two words using a single Regex command. I would like to do the following substitutions in a text fil
From "sans" to "without
From "stupid" to "questionable
Using two Regex passes is simple. Can it be done in one?... more >>
Sending email!
Posted by joe at 2/29/2004 8:09:34 AM
I need to send a email to a person with my program. Does
anybody know how to do that in Visul Basic? I would
really like to know how!
thanks,
Joe... more >>
Formatting textbox on the fly
Posted by carlob NO[at]SPAM global.co.za at 2/29/2004 7:29:26 AM
Hi
How do I get textbox text to be formatted on the fly as entering.
I have a textbox which will hold numerics larger than a million which I
want to autoformat i.e FormatNumber, so that it makes it easier for the
person inputting to visually see what they are entering i.e they could
enter 10... more >>
List Box
Posted by carlob NO[at]SPAM global.co.za at 2/29/2004 7:26:35 AM
I am trying to code a program which when a person enters values in a
text box the program should wait for a + or a - to be entered before
adding the number to a list box. How do I code it so that the program
checks each entry? (the + or - should be the trigger for lstList.Items.Add)
Thanks... more >>
CheckBox
Posted by carlob NO[at]SPAM global.co.za at 2/29/2004 7:24:28 AM
Hi
I am trying to add a checkbox programmatically next to a list box but
with each new item added to the list box it should have a
corresponding checkbox. I therefore tried to use a variable for the y
co-ordinate to the control. The initial value should be 13 and then
should increment by 17 for... more >>
What langugage is used to program EA Games Battlefield 1942?
Posted by David at 2/29/2004 7:04:05 AM
Does anybody know what language computer game programmers use? can you
program games with visual studio .net? would they be of good quality?
... more >>
Exception setting SocketOption
Posted by Milosz - [playseven.com] at 2/29/2004 5:59:40 AM
Dim EP As System.Net.IPEndPoint = New System.Net.IPEndPoint(mIP, mPort)
Dim S As Socket = New Socket(EP.AddressFamily, SocketType.Dgram,
ProtocolType.Udp)
S.SetSocketOption(Sockets.SocketOptionLevel.Socket,
Sockets.SocketOptionName.SendTimeout, Me.mTimeOUT)
.......
it crashes with Ex... more >>
VB6 to .NET
Posted by Giacomo at 2/29/2004 5:39:20 AM
I updated a project that has everything late bound (Sqldmo and scripting
runtime). It works in VB6, came across fine in the upgrade process,
compiled.... sounds great so far hmmm? It works fine when I test it on
another machine with the .NET loaded on it. I tried it on a machine that
doesn't... more >>
"Filter" data from XML datafile into datagrid
Posted by Thomas A at 2/29/2004 5:13:22 AM
Hi,
I fill a datgrid with data from a xml document, it works fine
But....
Now I will to filter the data to the grid so only the data shows from
the criteria that I set.
My code now is very simple to fill the grid
Dim strProj As String
Dim MyA As String()
... more >>
What can slow down VB.NET windows database applications
Posted by jbastovanovic NO[at]SPAM sezampro.yu at 2/29/2004 12:39:18 AM
What could be the common or possible reasons that can slow down an
VB.NET windows database (SQL Server) application. What is the normal
time needed for such an application to initialize and show is first,
start up form.
I used stored procedures for every communication with database and the
bi... more >>
|