Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Text File Manipulation
Garth Wells - 30 Sep 2006 10:53 PM - 7 messages
I need to open up a .csv and replace all adjacent commas (,,) with comma zero comma (,0,). Anybody have an example of how to do this? Thanks ...
Score Crystal Report or MS Word?
jmar - 30 Sep 2006 9:13 PM - 6 messages
I posted a week ago and received one response.  I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again.  Sorry for the repost... I am updating a VB4.0 quote generation program to VB.net.  The old ...
Score Logic Operators with 3 arguments
pamelafluente - 30 Sep 2006 5:03 PM - 3 messages
Hi, what is the appropriate way to to the following operations for three arguments (a,b,c) (wikipedia has definitions, in case): NAND, NOR, XNOR ? Thanks -P ...
Score (newbie - VB2005) writing to file
Opa Vito - 30 Sep 2006 11:24 AM - 12 messages
Hello, I give up .... probably I'm too stupid to understand but I cannot figure out how to write a string to a certain place in a file. This is what I like to do: Somewhere in a file is a section called '[settings]', every time the ...
Score Help! I can't find this info anywhere!
smerf - 30 Sep 2006 8:26 AM - 13 messages
I have searched high and low (and even in some places I'd like to forget I ever saw) for the information that will tell me exactly how the Nat2Nat server for UltraVNC works (not just a vague diagram, but the code needed - ...
Score Filestream problem
khan - 30 Sep 2006 4:43 AM - 5 messages
Hi guys I see blue line underneat the word FileStream in the following code in line 2. Can any one help me to find out what am I missing Imports System.IO Imports System.Windows.Forms Public Class Form1     Inherits System.Windows.Forms.Form ...
Score Events and Windows Services
Jason - 30 Sep 2006 1:12 AM - 2 messages
If I write a windows service that raises events, is there a way I can listen for and catch those events from a windows forms application? TIA, Jason ...
Score DirectX
Dennis - 29 Sep 2006 11:13 PM - 2 messages
Where is a good internet site to learn about DirectX, i.e., what it is, what it does, and how to use it with VB.Net. Also, is it faster (or even possible) to draw to a bitmap with Direct X or ...
Score Help Needed in VB
Craigbob - 29 Sep 2006 10:46 PM - 2 messages
Hi, I'm new here and  it has been several years since I've done any serious VB coding. I used to do a lot of VB6 development and have not really touched it in about 8 years. .NET is brand new to me as well. ...
Score vb6 to vb.net migration
bartj1 - 29 Sep 2006 6:58 PM - 7 messages
Hello, I am a vb (classic vb5/vb6) programmer who is getting his feet wet with ..net. I have been attempting to use various old vb functions and tweek them as required to get thme to run under .net. In many cases I was ...
Score listbox drop style
GS - 29 Sep 2006 6:09 PM - 5 messages
in visual studio 2005 express VB I found mention of drop style for listbox but so far my searches came up empty as to how and what they are. I was to set height and I figure I can probably do something with setting ...
Score Two Pass Update - best way?
Hexman - 29 Sep 2006 5:52 PM - 2 messages
Hello Again, I have a table that contains data that needs to be ranked.  There are actually 2 columns that need to be ranked.  I have already completed the task but did it in a "Brute Force" way. I created a datatable did a select (got 72,000 recs) and order by.  Looped thru the dt updating each record with ...
Score String -> StringBuilder Optimization
Michael D. Ober - 29 Sep 2006 3:52 PM - 10 messages
OK, I can't figure out a way to optimize the following VB 2005 code using StringBuilders: Public Const RecSize as Integer = 105 Private buffer As String Public Sub New()    init End Sub Public Sub New(ByVal value As String) ...
Score how to find specific date?
ibiza - 29 Sep 2006 2:53 PM - 2 messages
Hi all, I need to find a specific, for example the third friday of a given month/year. How to do that? thanks :) ...
Score vb.net 2003 Data Wizard Form
Peter Newman - 29 Sep 2006 2:40 PM - 4 messages
i have used the data wizard form to create a data form with a datagrid on it. What i want to do is add a new coloum and put a Button in it.  can anyboody showm me how to do this ....   I will need the onclick event for the button ...
Score vb.net DataGrid
Peter Newman - 29 Sep 2006 12:56 PM - 2 messages
Is there any way of finding out how mwny rows of data there are in the grid ? ...
Score UserControl(?) Question
teslar91 - 29 Sep 2006 11:38 AM - 3 messages
I've designed a UserControl that acts as a custom DataSource.  However, when I add it to a form, I don't want it *on* the form itself, but in that little area below it (does it have a name?) where the built-in ...
Score Create new "me"
M O J O - 29 Sep 2006 8:23 AM - 25 messages
Hi, Instead of doing this.... Public Class Form1     Public Shared Sub CreateAndShow()         Dim f As New Form1         f.Show()     End Sub ...
Score How to figure this one out - "The isnull function requires 2 argument(s)"
Hexman - 29 Sep 2006 4:27 AM - 3 messages
Hello All, In SS EE I have nulls in a column.  I want to select and eventually change to a zero (its a smallint column).  I've tried selecting 'null', 'dbnull', etc.  Then I read about the ISNULL function.  From the example I got, I received the "...requires 2 arguments...." error.  Read up on it but it ...
Score refrence a form object using a varible.
xnakxx - 29 Sep 2006 4:15 AM - 2 messages
for the sake of making my crazy question eaiser to understand i will try to simplify it as much as possible. Let's say I have a form with one textbox (txtname) and one button (bntGo). How would i go about changing the "text" attribute of the ...
Score Think BEFORE you post.
GhostInAK - 29 Sep 2006 3:24 AM - 30 messages
I'm seeing a terribly distubing number of questions that have no purpose in existing.  As an example: How do I change the position of a stream? Hmm.. Could it be some method on the stream itsself?  Probably. ...
Score What in the world is my prof trying to say? Dealing with MsgBox
James - 29 Sep 2006 2:36 AM - 5 messages
What does this mean? 'To specify more than the first argument, you must use the MsgBox function in an expression' I'd love to see an example. Thanks! ...
Score A little shove in the right direction please.....
smerf - 29 Sep 2006 1:56 AM - 4 messages
I want to code a local proxy that I can point my browsers to... The reason for this is to be able to grab the pages before they hit my browsers and filter out undesirable content. Any help you can give as far as tools or components or general info on this ...
Score Or in MsgBox Function
James - 29 Sep 2006 1:51 AM - 7 messages
Can someone explain to me what the Or does here? Dim intReply as Integer =  _     MsgBox(strPrompt, MsgBoxStyle.OKCancel Or     MsgBoxStyle.Critical Or MsgBoxStyle.DefaultButton2,     strTitle) I don't have VB on this cpu... will it display the ok and cancel ...
Score time formatting error
linuxnooby - 29 Sep 2006 1:38 AM - 3 messages
Hi I am trying to display a unix timestamp as a time of day. I can do this but I lose 10 hours. Is this something do with locale or is there an error in my code?? The timestamp is for 11.20 am, but the message box ...
Score Learn about XML?
Grumpy Aero Guy - 29 Sep 2006 1:02 AM - 2 messages
I would like to expand my "horizons" and learn what XML is all about. Been programming for a long time, but XML I only know superfically at best. Can anyone recommend a good book to help someone like me get up to speed ...
Score Command line argument
snow - 28 Sep 2006 10:34 PM - 3 messages
Hi all, I want to drag a file and drop to my application icon on the desktop to open the file. I use command line statement to catch the file location, like the following: dim cmd as string = Microsoft.VisualBasic.Command() ...
Score Citrix, VB.NET and Repaint
Paul - 28 Sep 2006 9:55 PM - 8 messages
I have a VB.NET form with a DataGrid.  When I toggle to Excel (for example) and then back to my application the repaint of the DataGrid is really slow.  You can see the repainting happening.  When I toggle back ...
Score Writing to Multiple Files - VB6
<M> - 28 Sep 2006 9:02 PM - 3 messages
Hi, I have an idea that I want to write to many (qty unknown untill run time but in the order of 5) text files as my application runs. They're log files dealing with different aspects of the application and will ...
Score regex question
GS - 28 Sep 2006 7:24 PM - 6 messages
what is a good regex expression for remove html <img ....> tag? I tried "<img [/:.a-z =0-9\""_;&]*\->", RegexOptions.IgnoreCase) but it is not quite working thank you for your time ...
Score Converting a string to a Form object
Kevin S Gallagher - 28 Sep 2006 5:07 PM - 2 messages
I found this code (pretty sure it was from a MVP) for converting a string variable to a form object which works fine within a form. Take the code and place it into a code module and it fails on the second line in regards to ...
Score JavaScript, ASP, and VB :)
JimmyFo - 28 Sep 2006 3:46 PM - 2 messages
Hi, this is a bit complicated but maybe someone can help here. I have an ASP.Net 2.0 page with a JavaScript file selector. I did this because I wanted to be able to select multiple files at a time. Here's a quick ...
Score Truly transparent label.
T Clancey - 28 Sep 2006 3:38 PM - 4 messages
Hi all. I've been working on a small and very simple label design app for a few days now, I've got most of my problems solved, although I'm sure there are some more just around the corner! ...
Score Setting breakpoints in VB2005
Jerry Spence1 - 28 Sep 2006 2:02 PM - 6 messages
In VB6 you could set a breakpoint when a variable had changed value. I can't find this in VB2005. Is it there somewhere? -Jerry ...
Score Iterate a structure to get name and value
csgraham74 - 28 Sep 2006 1:33 PM - 3 messages
Hello, just wondering if someone can help me - im using the following code to iterate around a structure and get the name of each varaibale in the structure. Basically i need to get the value of the item in the ...
Score How to find the position of the first dash in a string
Rob - 28 Sep 2006 12:20 PM - 9 messages
lets' say I have a value ABCD - 123 How can I return the position of the dash ? ...
Score keypressed
Peter Newman - 28 Sep 2006 12:03 PM - 3 messages
vb.net 2003 i have the following procedure Private Sub StrLicence_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles StrLicence.KeyPress         Select Case e.KeyChar             Case Microsoft.VisualBasic.ChrW(13) ...
Score Are optional parameters really an advisable thing to use ?
pamelafluente - 28 Sep 2006 10:58 AM - 13 messages
Hi guys, In the past I have used several time optional parameters in my function. But Now I am more inclined to think that they are more dangerous than useful, and probably better to be avoided. I'd like to hear your various opinions on this matter. ...
Score Looking for a real working transparent picturebox
Andreas Kammann - 28 Sep 2006 10:38 AM - 4 messages
hi there, iam still looking for a transparent picture box , that works also with 2 pictureboxes over each other or working over an panel. i don't find solution. or is there out another custom control ? i have tryed it with directly paint in an other picturebox, but the problem ...
Score (newbie -vb2005) going back to begin of file with StreamReader
Opa Vito - 28 Sep 2006 9:40 AM - 3 messages
Hello, I do a reading of a file with a StreamReader, reading line after line. How do I force the reader to go back to the beginning of the file and start reading again (or go to a specified line) when it reaches the end ...
Score Export array from vb.net to excel
michealmess - 28 Sep 2006 3:59 AM - 6 messages
Can anyone help me. I wish to export an array from vb.net to excel ranges. This will happen for multiple files. The ranges names will not be start and end in the same cells on all files. How do i do this? ...
Score Handle Worked - can someone please double check
Miro - 28 Sep 2006 3:37 AM - 11 messages
I wanted certain text boxes ( only certain ones ) to always be Trim'd so that spaces are not in the begining, nor the end of the text entered. I created my own "Handle ?" - i hope thats the right terminology, and it works.  Is this the right way to do this? ...
Score File converting/sending help
Bonzol - 28 Sep 2006 3:19 AM - 4 messages
vb.net 2003 VB Hey there, I have a program that uses remote connections and it can send strings to the clients and from clients to server. Now we need to send files this way, is there anyway to convert files ...
Score Ftp Client Help
jonathandrott - 27 Sep 2006 11:36 PM - 2 messages
Hi, all.  new to this ftp stuff.  i found this information on the msdn, but i don't understand some things.  why won't this code resolve to a IP based ftp server?  how can i download everything at this site ...
Score Multiple child forms - updating the right one
Kevin - 27 Sep 2006 9:25 PM - 7 messages
I've got an mdiParent form. I open an instance of a child form like this: Dim frmChild as New frmCustomers frmChild.Show() I've got a few of these open at a time. On each frmChild I open another form that displays customer data. When I make changes and save ...
Score Date as Null
Jay - 27 Sep 2006 8:14 PM - 4 messages
Hi , I am trying to assign a NULL value to a date (datatype). I am using VB NET 2003. I know that date cannot be assigned a null value in 2003. I cannot change the datatype as I am submitting the data to a web service ...
Score How can I to fill a polygon?
Carlos Villaseñor - 27 Sep 2006 6:57 PM - 3 messages
Hi everybody! I'm still new in VB and need to fill a polygon with a color ¿does exist some code to help me to do that? I appreciate some help. Thank you Carlos Villaseñor ...
Score filter dataTable/datagridview to show top 1 row for duplicate IDs?
Rich - 27 Sep 2006 6:19 PM - 3 messages
Hello, I am just checking if there is a property or technique for displaying or retrieving from a dataTable the top 1 row(s) for rows containing duplicate keys (IDs).  I have to pull data from a sql server DB.  The resultset ...
Score Bug in Datagrids
mfleet1973@yahoo.ca - 27 Sep 2006 6:16 PM - 9 messages
Hi. When testing my app I believe I found a bug in datagrids (or is it just me). Here is the scenario: Grid is attatched to a dataview.  Dataview has a filter.  I enter a new record within the datagrid and when I click on the fixed column (the ...
Score DirectX and Sound
Jovo Mirkovic - 27 Sep 2006 4:03 PM - 2 messages
Hi, We are working on some application in DirectX, and we are using DirectSound, like this     Public Sub playSound(ByVal isloop As Boolean, ByVal fileName As String)         Try             stopSound() ...
Score Finding a control on a form with a text reference
lisa - 27 Sep 2006 3:08 PM - 6 messages
This is incredibly frustrating. I have a VB6 app at work that we're upgrading to .NET.  In the VB6 code, I'm able to get a reference to txtText by using frm.Controls(txtText).  In ASP.NET, we have Page.FindControl(txtText). ...
Score Are you a C# Developer in Buckinghamshire?
TestRecruit - 27 Sep 2006 2:28 PM - 3 messages
You will be a C# Developer with at least 2 years commercial experience in C#, ASP.Net, webforms, XML/XSLT, ADO and SQL Server. You will also have experience of stored procedures and will have good analysis, design and documentation skills. Along with this you must have strong ...
Score XML to save some settings
Eric bouxirot - 27 Sep 2006 2:11 PM - 9 messages
hi there, i never used XML beforre, i prefere INI files, but i want do same things with XML file format.. before i can save/read some element of INI files without the need to parse or read all the file.. juste like getxxxxINI("Section", "Key") ...
Score Q: select (case insensitive)
G .Net - 27 Sep 2006 2:00 PM - 3 messages
Hi I'm using the Select member of a DataTable in vb.net. In the datatable I have a field which holds a string. I want to do something like: Dim name As String = "mike" Dim rows As DataRow() = dt.Select("[Name] = " & name) ...
Score overflow detection without try-catch
AMercer - 27 Sep 2006 1:43 PM - 6 messages
I want to detect if multiplying two integers or two longs will cause an overflow without using a try-catch block.  I know how to do it with try-catch, but the performance hit is too much.  I want an efficient test so ...
Score Permanent Rectangle on Form.
T Clancey - 27 Sep 2006 12:36 PM - 5 messages
Hi, I have some code that will draw a rectangle on my form, does what I need, but it's simple code that just draws, therefore menus and other items clear the drawing. Has anyone got a way to draw the rectangle permantently?  I need to change ...
Score Getting nodes from an XML-document
Klaus Jensen - 27 Sep 2006 10:22 AM - 2 messages
Hi Using Xml.XmlDocument I need to get all <rfd:li>-elements below <photoshop:SupplementalCategories> in the below XML-sample. I normally use GetElementsByTagName, but since there are other <rfd:id> elements other places in the doc, I cant. ...
Score VB Program - CHM help integration
al jones - 27 Sep 2006 10:00 AM - 4 messages
I have the program, I have the help file.  I've drug a helpprovider into the project - now I'm not sure what to put into the properties to make the connection.  Does anyone know of a tutorial on how to actually integrate ...
Score Redirecting standard output
mhmtzdmr - 27 Sep 2006 7:23 AM - 4 messages
Hi, I want to run an application and capture its standard output. But the following code does not generate any output. Can anyone see something wrong?     Public Sub RunApp(ByVal myprocess As String, ByVal param As String, ...
Score How can I create a Shortcut (with parameters) on a user-desktop with vb.net?
leerstring - 27 Sep 2006 7:18 AM - 6 messages
Yeah, that's my Question:-) Thanks in advance.... ...
Score Button with dropdown style like on a toolbar
Flemming Dahl - 27 Sep 2006 6:48 AM - 2 messages
Hi all, I want to create a button like this one.... open Microsoft Word select Edit select Replace clik on "More" button look at the "Special" button - now you've found it... How do I create a button like that one... looks like a real button without a ...
Score Posting login data with HttpWebRequest
adwooley2 - 27 Sep 2006 5:39 AM - 3 messages
Hello.  Have been losing plenty of hair over problem whereby I can't make it off the login page.  Trying to pass login info to a login page and then move on to another page within the site so that I can download ...
Score how to run the execuatable before windows shutting down
leocwh - 27 Sep 2006 4:59 AM - 4 messages
Dear all, I would like to know how to run the execuatable before windows shutting down. Here is my simple code: Private Sub Command1_Click()     Shell "C:\abc.bat", vbNormalFocus End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) ...
Score How to re-start application?
Jeff - 27 Sep 2006 3:29 AM - 3 messages
This is probably a stupid beginner question, but I have an application variable specified in the global file in asp.net 2.0 using VB. It simply stores the result of a value from a database. It rarely changes and will be used by all sessions in a read-only ...
Score HTTP Client Request Object
shannonw - 27 Sep 2006 12:10 AM - 2 messages
New to .NET & VB and looking for some code to help me on my way. Looking particularly for an http request object. That is: I want an object I can plug into an application that will accept all the usual pieces of information (url, request string, key/value pairs ...
Score how to get both old and new value for a changed text box
Kathy - 26 Sep 2006 10:49 PM - 32 messages
I would like to get the old and new value for a change made to a text box so that I can store them in a change history table.  What is the best way to do this?  I am just learning VB 2005; porting an ...
Score HELP! .Net user control in a VB6 app requires double-click to activate
holysmokes99 - 26 Sep 2006 9:59 PM - 2 messages
I have a VB6 Winform application that has a .Net 2.0 user control (exposed via COM Callable Wrapper) that I made. No matter what I have tried, once the user control looses focus, it always requires a double-click to regain ...
Score Data Access Advice
Ben - 26 Sep 2006 9:52 PM - 3 messages
Hi I need to post xml data to a url, I have have created an xml file using an xml text writer as below but would rather a faster method that does not involve writing the file to disk but using it from memory instead.  Could ...
Score word length occurance in a text..
amit.sindri - 26 Sep 2006 8:58 PM - 5 messages
Write the code in best possible way c# for giving out put the maximum number of time the same word length occurs.the text might contain . , to seperate word too.. Eg INPUT TEXT : "This text is test sample.Text lenght that occurs ...
Score How to make stacktrace include linenumber for release compiles?
Dan - 26 Sep 2006 7:52 PM - 6 messages
Hi.  I've noticed that, when I build an exe in release mode (as opposed to debug mode), the StackTrace for exception does not include line numbers.  Is there a way that I can build in release mode and still get the line number in ...
Score Detect right-click in MDI container's client area?
teslar91 - 26 Sep 2006 7:00 PM - 4 messages
I need to display a tiled image in the MDI container form's client area, and also detect right-clicks in that area.  How do you do that? So far, I've unsuccessfully tried: 1) Placing my image in the form's BackgroundImage, and creating a ...
Score check username and password in database
Kevin O'Brien - 26 Sep 2006 6:50 PM - 12 messages
Hello, I am creating a sign on screen for my application in which I want to store the username and password in a database table.  I was thinking of putting a combo box connected to the database to pull up the usernames and then having ...
Score .Net user control in a VB6 app requires double-click to activate
holysmokes99 - 26 Sep 2006 5:08 PM - 2 messages
I have a VB6 winforms application that has a .Net 2.0 user control (exposed via COM) that I made. No matter what I have tried, once the user control looses focus, it always requires a double-click to regain ...
Score A question of design
Sid Price - 26 Sep 2006 4:48 PM - 7 messages
Hello, I have struggled with this question for many years and have so far not come up with what I consider a good answer. Consider one is designing a windows forms based application using vb.net. The main form of the application has a ...
Score Visual Studio Proffessional 2005
Miro - 26 Sep 2006 4:32 PM - 4 messages
If someone can help me out here It would be much appreciated. I dont want to spend $$$ and find its not what I am looking for. I am looking to buy Visual Studio 2005 Professional.  - This is the version ...
Score VS 2005 & list of installed products
Steve Long - 26 Sep 2006 4:20 PM - 3 messages
Hello. (I posted this yesterday in the .net general group and got no responses. Anybody here?) When you start up VS 2005, it displays the list of installed products on it's splash(startup) screen. VS 2003 used to do this also before I ...
Score Finding embedded controls?
IdleBrain - 26 Sep 2006 3:56 PM - 3 messages
Hello, I am trying to write code to clear all the textboxes on a VB.NET windows form using:             Dim ctrl As Control             For Each ctrl In Me.Controls ...
Score C# to VB Conversion Help - Overriding Events?
Spam Catcher - 26 Sep 2006 3:43 PM - 3 messages
Hi all, Is this possible in VB.NET? /// <summary>         /// We manually implement delegate management, so instead of         /// declaring event variable we declare accessor methods ...
Score Encrypt a date to use in demo version
Christie - 26 Sep 2006 2:26 PM - 5 messages
My app creates a rigistry entry of the date when it is installed, which is then used to determine when the demo expires...It is working fine but I would like to encrypt the date somehow...is there a relative easy ...
Score System.Diagnostics.Process.Start Freezes
LoDawg - 26 Sep 2006 1:47 PM - 4 messages
I am using the system.diagnostics.process.start command to launch an excel template. Once open the user has the option to create a new template through a wizard I have created. When the wizard finishes it goes back through the same routine to open the new template. Everything ...
Score RTf to Word.Doc
Urs - 26 Sep 2006 1:19 PM - 4 messages
Hi Does anyone knows a modern RTF to Word.Doc Converter? Should be a .net component, purchase is ok. Thanks for any hints. Urs ...
Score No Recursive instr?!!
Anil Gupte - 26 Sep 2006 1:03 PM - 4 messages
I must have missed it.  It cannot be possible.  Or may be I am living in the past of my lisp programming days. There must be a function to find the nth occurrence of a string within another.  instr only gives you the first one.  Of course I can write a ...
Score Securing my app with serial number
andrew - 26 Sep 2006 8:44 AM - 10 messages
Hi there, I am pretty new to VB.net so excuse me if this sounds simple. I have an application which i want to distribute over the internet - now i know it probably wont be possible to completely secure it from ...
Score Do I need to install Excel on the server?
Keith - 26 Sep 2006 8:41 AM - 3 messages
Hi all, I'd like to ask if I use "Dim ExelApp AS New Excel.Application" for my web application where I need to open up a multiiple sheets Excel template file on the server, write some data and do some formatting to it using Excel ...
Score Problem with mutex
cold80 - 26 Sep 2006 7:33 AM - 2 messages
I'm trying to check in my application if another instance of it is already running. I found many code snippets on the net that make use of a named mutex to do this check, but I can't make it work on visual ...
Score Challenging PRoblem in VB.NET.
Hisouka - 26 Sep 2006 6:02 AM - 3 messages
DBase = 'MYDB' User = 'Hisouka' Password = '1234' HEre is my Table in SQL Server Tablename: TABLESAMP Field1     Field2      Field3 abs         NULL      PRIMARY ...
Score Whats the right approach for getting a job
suraj - 26 Sep 2006 4:29 AM - 38 messages
Hi All, I am sorry if am cross posting but just wanted to get the right answer for this. I have a experiece of 15 years yes i am a old man now.  Most of exp is in electrical field. After 15 years for various reasons i ...
Score Design Question
Ausclad - 26 Sep 2006 2:10 AM - 3 messages
Hi,  I have been reading so much on Datasets and designing using layers, that I am so confused I don't know what to do. I am trying to build a Timesheet tracking application.  Most applications seem to use n-tier design now, so I would like to try and implement this. ...
Score Convert Now to a string
Laurence - 26 Sep 2006 1:31 AM - 7 messages
In VS.2005 using VB.NET I have tried to make a string dim abc as string abc = format(now,"mm/dd/yyyy") or abc format$(now,"mm/dd/yyyy") but it doesn't work. I get:  28/25/2006 ...
Score cross Thread not valid
elun219 - 25 Sep 2006 11:50 PM - 3 messages
Hi Guys, I have a question on the Vb.net code I am working on. I have a winform that has a button that starts a thread, I would like to close the winform when thread finishes or crashes. Is there a way to call ...
Score Simulate Autoredraw
Doug Marquardt - 25 Sep 2006 11:49 PM - 9 messages
Hi All: I want to simulate VB6 Autoredraw in VB.Net I figure I would probably have to create a memory dc, paint to that, and then create a bitmap based on the dc and copy that image into a bitmap, ...
Score variable value becoming null
Jay - 25 Sep 2006 11:44 PM - 4 messages
Hi, I am working on a web service project. To start with i get the data frm the web service and populate all the objects with the values received. In the second step i display the data received on the browser. ...
Score class and component class
Jon Vaughan - 25 Sep 2006 9:33 PM - 5 messages
Whats the difference between a class and a component class , they seem to have identical structures, but different icons ? and when would I use a component class over a a class ? Thanks ...
Score how do you compress/zip a directory and all the subfolder/files un
dotnetnoob - 25 Sep 2006 9:31 PM - 3 messages
i'm making a function to compress a directory and all the subfolders/files under it for backup purpose. i can make a copy of directory without any problem but how do i compress the copyed directory? thank ...
Score FileSystemWatcher question....
Scott - 25 Sep 2006 8:34 PM - 2 messages
Is it possible to, when using the FileSystemWatcher control inside a Windows Service, to only run it at certain times? The company I currently work for wants to have a windows service created that monitors a given directory for new files, but actually only processes ...
Score VB Guru please explain me how this can work ?
aName - 25 Sep 2006 8:14 PM - 3 messages
How can this work ? [link] In Vbasic( see code below)  e is pass ByVal so a copy is put on the stack when the handler is called and it is not suppose to have side effect. ...
Score Can forms in different projects reference one another?
MikeB - 25 Sep 2006 5:58 PM - 8 messages
Me again. Is it possible to have two projects in a solution (ProjA and ProjB) and have Form1 in ProjA do a .Show() for Form2 in ProjB? I tried the following, but I get a problem with the reference   Sub ShowFormB ...
Score Transparent attribute for labels
MikeB - 25 Sep 2006 5:54 PM - 9 messages
Hi, I created a picturebox with a map as an image. I want to make certain areas on the map clickable hotspots and the way I'm trying to do this is to create a transparent label with a different cursor (hand) ...
Score Rendering Vector Images
dwyer.bill - 25 Sep 2006 4:10 PM - 3 messages
Hi, I am trying to create a control that will display a vector image. The main purpose is to allow for the resizing of an image without pixelation.  All of our image files are in AI(Adobe Illustrator) and we ...
Score VB.NET 2005 WebClient file download via HTTPS
Chad T - 25 Sep 2006 3:50 PM - 2 messages
I am very new to VB.Net (most of my experience is with vbscript) My goal is to create a executable to download files from a HTTPS server. I have to pass the credentials to the https server. The code below works fine on our IIS server configured for https but when I ...
Next » 2 3 4 5 6 7 8 9 10