Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score How to print a pdf file to the default printer?
Robert Dufour - 10 Mar 2007 8:55 PM - 2 messages
I have a file c:\test.pdf that I simply need to send to the default printer from within my vb.net code I've been seeing samples that show how to print text to a printer and they handle page counting etc. ...
Score system call
Alessio - 10 Mar 2007 10:07 AM - 3 messages
I need to make a system call from an Excel macro to execute something in DOS. I there a command like system("command")  in Visual Basic? Thanks a lot ...
Score Show About form on DLL start
Martin H. - 10 Mar 2007 8:10 AM - 5 messages
Hi, I'm working on a DLL which I want to make available for download (when it's ready). However, since I want to make a few $$, I want that the About dialog of the DLL is shown each time the program (which references the DLL) is ...
Score SIP development in .NET???
Spam Catcher - 10 Mar 2007 6:06 AM - 3 messages
Hi all, Has anyone here done any SIP development in .NET? Can someone recommend what is the best SIP stack to use? I'm thinking of using Microsoft's Real-Time Client ... but it hasn't been updated since 2004. Is there a better stack to use? ...
Score Mouse behavior of ToolStripMenuItems
ljlevend2 - 10 Mar 2007 3:50 AM - 2 messages
I've noticed that if you click on a Windows.Forms.ToolStripButton then a MouseLeave event will not occur until the button is released.  ToolStripMenuItems on the other hand will raise a MouseLeave event as soon as the mouse moves outside of the item, even if the mouse button is held down. ...
Score Task scheduler
Sid Price - 10 Mar 2007 1:45 AM - 4 messages
Is there a .NET (2003) class available somewhere that might provide a comprehensive task scheduler with a better granularity than the one minute of the built-in scheduler on XP? Even down to 15 seconds would be better than one minute. ...
Score bindinglist(of T) bound to two controls
Rick - 9 Mar 2007 11:51 PM - 2 messages
VS.net 2005 I'm using a bindinglist(of T) to bind to various controls on a WinForm.  I use the name/value pairs in the "type" for the displayMember and ValueMember of say a ComboBox control. For example I might load the TermsNumber and TermsDescription from a ...
Score Compile error help
Flomo Togba Kwele - 9 Mar 2007 10:24 PM - 3 messages
I wrote the following class: Public Class CassPrintComparer2    Implements IComparer(Of ICASSPrint)    Private _sortDescending As Boolean = False    'pass true to the constructor to sort descending    Public Sub New(ByVal descending As Boolean) ...
Score Passing exceptions from a Dll back to the calling application.
dave m - 9 Mar 2007 10:09 PM - 5 messages
I'm creating a class library (dll) and am confused as how to pass any information, should any exceptions occur, back to the calling application. Such as: Try     x = 3 / 0 ' divide by 0 error Catch ex as Exception ...
Score Problem using BackGroundWorker to ping multiple LAN hosts
Michael M. - 9 Mar 2007 9:15 PM - 6 messages
I have the following code (listed at bottom of post) that pings a small range of  IP address to see which ones are alive. To speed things up a little I am trying to use more than one thread, problem ...
Score print a .jpg image from vb .net
Brad Pears - 9 Mar 2007 8:34 PM - 6 messages
I have the following code which I was using to print .pdf's. It worked fine and actually printed the pdf file. Now I want to use the same code to print a .jpg file. When I run the code, ...
Score Update Access DB With Downloaded Data
ags5406 - 9 Mar 2007 7:59 PM - 2 messages
Novice to Visual Studio 2005 - in the past have used VB6, Excel VBA, Access VBA. I want to download a set of data daily from a website which I then put into a text array.  This part I've done and it works well. ...
Score Creating a temporary file from a bytearray
Brad Pears - 9 Mar 2007 7:56 PM - 3 messages
I have a bytearray variable and want to create a temporary file on my hard disk from this bytearray so I can print this data. How do I do this?? Thanks, Brad ...
Score Printing
Playa - 9 Mar 2007 5:31 PM - 3 messages
When I display my print preview dialog all text and data displays as expected but when I print it some of the text isn't printing.  I can't figure out why it displays fine in teh print preview but some text wont print.  Can anyone ...
Score how to access from code-behind a label into CreateUserWizard control?
Ben - 9 Mar 2007 5:23 PM - 5 messages
Hi, i have some problem to access from code-behind a label nested into a CreateWizard control. I use a html-table for align purpose only. I try to change the text property of the label with ID="UserNameLabel". <asp:CreateUserWizard ID="CreateUserWizard1" runat="server"> ...
Score Using vb.net to dynamically create excel activeX controls
done1105 - 9 Mar 2007 4:55 PM - 2 messages
Using VB.net, i want to dynamically create a workbook and add a command botton to one of the sheets. how would i do this? I see examples using VBA but i am not able to translate them to Vb.net. ...
Score Sixe in KB of a dataset or datatable
Manekurt - 9 Mar 2007 4:41 PM - 4 messages
Hello, does anyone knows how to know the size in Kb of data stored ina a dataset? Thanks ...
Score vb.net search network drive
Computer geek - 9 Mar 2007 4:12 PM - 17 messages
Hello, I am new to VB.NET and programming in general. I have taught myself a lot of the basics with vb.net but am still quite the novice. I am working on a little application now and I need some help with one ...
Score Need Microsoft.Office.Interop.dll
Andrew - 9 Mar 2007 4:04 PM - 2 messages
Where can I get the Microsfot.Office.Interop Dll's for work and excel? ...
Score Checking for A Blank String
Playa - 9 Mar 2007 3:45 PM - 43 messages
I have an if statement that isn't working correctly and I was wondering how I check for a blank string. My Code Example if me.fieldname(arrayIndex) = "" then   ----- end if When I do this and there is no characters in the variable it does not enter ...
Score Showing the Icon after setup
fasttrack - 9 Mar 2007 3:27 PM - 3 messages
Hello, I have a problem, I have built a vb.net application and deployed. Everything is OK and functioning. But I need a thing: I have to run a vb.net file .exe at the end of setup and show the icon ...
Score control name
John - 9 Mar 2007 3:13 PM - 5 messages
I want to dynamically get the control from the event being executed at a particular time.  For example, lets say I have the following event. combobox1_SelectedIndexChanged((ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles combobox1.SelectedIndexChanged ...
Score Help with streamwriter
ukgrl_yr79 - 9 Mar 2007 3:00 PM - 2 messages
hi fairly new to vb.net . I have created a filesystem  where a manager and co workers hve limted access. the manager can read members files.  i have used streamreader to get the details from a text file on my c drive into relevent text boxes eg ...
Score Single instance form (child) on MDI
Smokey Grindel - 9 Mar 2007 1:35 PM - 4 messages
What is the best way to do this? I want to have a child form in an MDI window that can only ever have one instance of open... if one is already opened I want to use that form and not make another... any suggestions? I ...
Score Problem understanding Synclock
HONOREDANCESTOR - 9 Mar 2007 12:44 PM - 3 messages
I have a buffer that needs to be locked sometimes, because 2 processes update it. So I made the buffer into a class and whenever there is code that affects it, I sandwich the code between Synclock MyBufferClass ........... End Synclock ...
Score Password protect access DB?
teejayem - 9 Mar 2007 9:21 AM - 23 messages
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help would be much appreciated. ...
Score How to make / plot graph in vb.net?
ray - 9 Mar 2007 8:39 AM - 4 messages
Hi,     I would like to ask how to plot graph in vb.net on the interface? Is it possible? Thanks a lot, Ray ...
Score Trying to "embed" winamp in my app
Terry Olsen - 9 Mar 2007 4:26 AM - 5 messages
Here's another odd request. I want to embed the winamp window in my app. I have a panel that I want Winamp to be locked to. Using a couple of API calls, I can set the panel as the parent of the main Winamp window like so: ...
Score How to capture VB.NET Event From VB6????
Vanessa - 9 Mar 2007 3:14 AM - 12 messages
I have a class library developed in VB.NET.  Inside there is a form with a button1. I add this class library to a VB6 Project. I do a Dim a as new classlibrary.form1 SetParent a.GetHwnd, Me.hWnd ...
Score findign even characters odf a string?
Ron - 9 Mar 2007 2:19 AM - 10 messages
How would I go about finding the even characters in a string? for example: string = I have   so it would return even characters of ae thanks ...
Score Menuitems do not display
active - 9 Mar 2007 2:10 AM - 4 messages
I have a mainmenu menuitem that contains a Recently Used Files menuitem If at design time I include a menuitem in the Recently Used Files menuitem collection it will display OK If I programmatically add more menuitems to the Recently Used Files menuitem ...
Score How can I make this into a class??
Ron - 9 Mar 2007 1:38 AM - 3 messages
I would like to make this code into a class:     Private Sub btnAllCap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAllCap.Click         txtOutput.Text = txtInput.Text.ToUpper ...
Score System.IO.PathTooLongException
George Shubin - 9 Mar 2007 12:47 AM - 4 messages
A routine I have that grabs all file names (fully qualified) from a directory tree is getting the above error.  The error message says: "The path is too long after being fully qualified.  Make sure path is less than ...
Score Bind combobox to sql statement result in VB2005
guy - 9 Mar 2007 12:33 AM - 6 messages
I am able to use the Server Explorer to create a dataset containing tables in my database. I am able to bind a table to my combobox and set a filter by including a where clause. But I am unable to ...
Score Image List
grzegorz.gazda - 8 Mar 2007 11:10 PM - 4 messages
Hi all Is there any limit of images which can be added to a image list. I have a problem with this control. I added an image list in design mode and I am adding images using code. Then I want to use images in a ...
Score Find row using * wildcard or similar (Like) with dataview/dataTabl
Rich - 8 Mar 2007 10:37 PM - 5 messages
Is it possible to use a wildcard like feature with Dataview.Find?  Actually, I tried that but did not get any rows.  Is there some wildcard like feature of the dataview or some other object that I could search/find rows in an ...
Score How to add programmatically a label into a content page?
Phil - 8 Mar 2007 10:31 PM - 5 messages
Hi, How to add programmatically a label into a content page? I tried this but doesn't work: Thanks Phil content page: ------------ <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> </asp:Content> code-behind: ----------- dim lb as label ...
Score VB2005 Line drawing graphics slow
Galen Somerville - 8 Mar 2007 10:18 PM - 8 messages
I have been converting a VB6 project to VB2005 for lo these many months. Most of my problems have been solved thanks to people like WanYuan Wang and Mattias Sjogren. But now the Graphics aspect is the problem. This program gets Heart sounds and ECG trace data from a USB device via an ...
Score Rounding and math.sqrt
backwards15 - 8 Mar 2007 9:28 PM - 3 messages
Having a bit of trouble with rounding and math.sqrt. I have below a small function that generates a 4 diget code from the square root of the date.     Public Function Generate() As String         Dim n As Integer ...
Score how can I tell how many window handles are free
ngr - 8 Mar 2007 8:53 PM - 3 messages
I have come across a problem because I have too many controls on a form. It says that it cannot create a handle. Now I know that there is a limit of how many windows handles which can be used in any one process, but would like to know in VB.NET 2005 how I can ...
Score RaiseEvent is frozen on .net 2005 platform
bob95226 - 8 Mar 2007 8:24 PM - 2 messages
Hi All, I create a .net compact framework Window CE class library with a few events using .net 2003, the application bundled with this library doesn't work on .net 2005 platform (it works well for .net 2003), after debugging, it turns out RaiseEvent MyEventName in that class ...
Score Question on SQLCommand in a loop
fniles - 8 Mar 2007 7:44 PM - 3 messages
I am using .Net 2003 and querying a SQL Server 2000 database. I read the database in a loop, but on every iteration I set the SQLCommand to new, set it, execute it, dispose and set it to nothing. Is there any way so that I do not have to do that ? In VB6, I can set a ...
Score A little rant
camainc - 8 Mar 2007 7:36 PM - 3 messages
I'm just now migrating to the 2.0 framework, and in working with the System.Xml namespace, it seems like almost every method or object either takes a URI or a stream or some other object that only takes a ...
Score VB2005 & Smartphone development
Darhl Thomason - 8 Mar 2007 6:46 PM - 5 messages
I'm developing an app for a Smartphone and want to add a text box that only accepts numbers (much like in the contacts, the phone # fields only accept numbers). Thanks! Darhl ...
Score A little off topic but close
Lloyd Sheen - 8 Mar 2007 6:21 PM - 2 messages
I am looking at tutorials for ASP.NET and VB.  The page is [link] When I see it with IE7 and Vista I see the footer info at approx half way ...
Score OpenMode enumeration
Nate - 8 Mar 2007 5:13 PM - 4 messages
This has probably already been addressed (but I can't find a reference to it in the groups). Tracking down a bug, I found that the OpenMode Enumeration in both the local and on-line MSDN is incorrect. It's a ...
Score disable close item of window
martin1 - 8 Mar 2007 3:08 PM - 4 messages
Hi, All, I use vb 2005 to create window app, and try to disable close button/item on the top right coner of window, can anyone can help this out? Thanks for yuor time, Martin ...
Score Suppressing Dialog from a COM dll
jayeldee - 8 Mar 2007 3:06 PM - 2 messages
I'm using a 3rd party COM DLL that contains a Logon method to which I give a user name and server.  Any invalid user name values or server values cause a dialog box to pop up and prompt for valid input. ...
Score DirectoryWatcher question
DorkyGrin - 8 Mar 2007 2:55 PM - 3 messages
Can DirectoryWatcher watch subdirectories, copy files that appear, change the name of the files, and send those files to another specified directory? I'm doing this now with a VBS script and using Windows scheduler to kick off the process. Seems like DirectoryWatcher ...
Score How to Debug a DLL ?
Bassam - 8 Mar 2007 2:29 PM - 2 messages
Hello , I'm using VS.NET 2005 and VB.NET I made a DLL file having compiled classes and successfully added a reference to it in the main application , is there a way i can debug the DLL from the ...
Score Help With Making an Executable project in vb.net
Vikter - 8 Mar 2007 1:43 PM - 3 messages
Hey, I've done some vb 6.0 and atleast can make a project executable. However i cant do it in vb.net. How does one create a project executable in Vb.net. From [link] ...
Score SMTP Email in VB2005
Osvaldo Rosario - 8 Mar 2007 12:27 PM - 6 messages
I'm using SMTP for email in a VB2005 application. The problem is that the email is sent when I exit the application, not at the moment that the client.Send command is generated. There's a setting to done to allow the email to be sent at real time? ...
Score defining a flexible PROPERTY
gadya - 8 Mar 2007 11:06 AM - 3 messages
I use one of 2 arrays dependent on the country. Rather than say: if exchangeID = 1 then dim myPlaceBets() as  As UK.exchange.PlaceBets many statements myPlaceBetsReq.bets = myPlaceBets else dim myPlaceBets() As AU.exchange.PlaceBets many statements myPlaceBetsReq.bets = myPlaceBets ...
Score Convert Numeric Format to Time Format
WorldIsEnding - 8 Mar 2007 10:34 AM - 8 messages
Hey, Im having trouble with converting a Numeric value (such as a single digit number like 1 or 5) into a time format. I need to convert a number entered into a variable into Hours on the first form, then from Hours into Seconds when a second form is loaded. ...
Score How to upgrade Objptr function from VB6 to VS.net 2003
sani - 8 Mar 2007 8:54 AM - 2 messages
How to upgrade Objptr function from VB6 to VS.net 2003 From [link] Posted via DevelopmentNow.com Groups [link] ...
Score where ItemData in ComboBox?
Tark Siala - 8 Mar 2007 7:30 AM - 8 messages
when i working on VB6 with ComboBox i use ItemData to save Id Number with Visible Name, and use it to get Data from Database. but now i working in VB.NET and se ComboBox, i can Fill Visible Name by ...
Score Re: petition to save VB!
Nick Chan - 8 Mar 2007 6:19 AM - 2 messages
can u stop it? visual basic studio express IDE is so good and free ...
Score SQLBulkCopy and SQL Server 2000?
Spam Catcher - 8 Mar 2007 5:04 AM - 3 messages
Hi all, Does .NET 2.0's SQLBulkCopy class work with SQL Server 2000? Thanks! ...
Score TextBox Watermark NOT ASP.net
James - 8 Mar 2007 2:14 AM - 4 messages
Is there a way to put a watermark in a text box? I have sen it on web sites but i would like to create a persistant translucent one in the background ...
Score DataColumn.Expression with DateTime Datatype
Matt F - 8 Mar 2007 1:22 AM - 12 messages
I'm trying to do something that seems like it should be pretty simple, but haven't found a solution.  I am trying to add a datacolumn to a datatable that adds or subtracts a number of days based on another datetime column in ...
Score How to sort an array of objects
John Devlon - 8 Mar 2007 12:35 AM - 3 messages
Hi, I've created my own class containing a few properties like name, zip-code and savings. At some point i'm storing several objects in an array. Does anyone know how to sort the array using the zip-code, again using the ...
Score Strings ~ Help Please
Brad Isaacs - 7 Mar 2007 10:40 PM - 5 messages
Using ASP.NET 2.0 , code behind with VB.NET and an  SQL Server 2000 database Inside my dropdown list box I am using an SQL DataSource to select the following data SELECT RTRIM(c.Name_First) + ' ' + RTRIM(c.Name_Last) AS Contact, ...
Score Example of dynamic binding for GridView
Lloyd Sheen - 7 Mar 2007 9:44 PM - 4 messages
Is there an example of VB code which will take a datasource and extract from that the needed info (columns etc.) to create the columns and then bind the data? This seems so much more difficult to do an ad-hoc query. ...
Score how to use a class in an aspx file?
Jan - 7 Mar 2007 8:36 PM - 11 messages
Hi, I defined a function like this:   Public Function myfunction(ByVal myvar As Object) As String         ...         Return xyz     End Function in aspx file, i use it like this: ...
Score append one line of file
Gaby Sandoval - 7 Mar 2007 8:34 PM - 3 messages
I have this code. The user can read teh record from the text file just fine.  They can click the NEXT  button and it reads the next record (which is just the next line from the text file). ...
Score Interface through the parallel port
pete_tomson - 7 Mar 2007 8:01 PM - 2 messages
Hi - I'm trying to read data from my parallel port. Does anyone know how I can write a program in vb6 to read pin 6 of my parallel port. All I need to know is whether there is an incoming signal - input ...
Score How to ping another computer in Vb 2005
martin1 - 7 Mar 2007 7:56 PM - 5 messages
Hi, All, I try to ping another PC using ping in vb 2005, can anyone provide a snippet of code? Thanks in advance, Martin ...
Score Visual Studio Life Expectancy
Miro - 7 Mar 2007 6:23 PM - 5 messages
I was searching on Microsoft's site and found this link: [link] It stumpped me on something. ( im new to visual studio / vb.express ) but.... I was under the impression from the posts on this newsgroup that Vista does ...
Score Microsoft Expression vs Visual Studio?
Ronald S. Cook - 7 Mar 2007 4:56 PM - 12 messages
We have graphics/web designers at our firm and then programmers.  We're trying to work together without stepping on each other's toes.  So far, we've all been using Visual Studio. But, is there something great about Microsoft Expression that the graphics ...
Score VB.NET Compiler
yhlove - 7 Mar 2007 4:02 PM - 5 messages
Hi as much as I know from univsersity compilers dowsn't check another statements after they find a TRUE statement. example: a=1 b=2 if a=1 or b=3 then ..... end if Because a=1 statement is TRUE, the compiler shouldn't check the ...
Score Scrolling text
Mark Brown - 7 Mar 2007 3:36 PM - 2 messages
Is there any way to load a text box (or  label) with text and then have the text continuously roll in a loop from top to bottom (or actually bottom to top) and control the speed? Thanks, Mark ...
Score Read a file in the web
Samuel - 7 Mar 2007 3:30 PM - 2 messages
I simply want to read a file located somewhere in the internet from VB code Can anyone send sample code? Thank you, Samuel ...
Score Calendar Control
David - 7 Mar 2007 3:23 PM - 3 messages
Using the calendar control, how do I set my calendar to start at 2005 instead of 2007 at runtime? ...
Score DLL Question
Bassam - 7 Mar 2007 3:09 PM - 2 messages
Hello, I'm using VS.NET 2005 and VB.NET , i have a large project , the IDE keeps giving me errors regarding the vb compiler all the time , i thought to split a big part of the project into separte DLL file ...
Score show new form
jlab13 - 7 Mar 2007 1:39 PM - 5 messages
i was sure that in vb6 the syntax to open a form via a button was "form.show". I'm doing that in Vis Studio 2005 and it doesn't seem to do anything. Any suggestions? Thanks!!! ...
Score Class/structure/something else in class
René Jensen - 7 Mar 2007 1:06 PM - 5 messages
Hello I got a problem with a class i'm trying to create. the problem is that i would like to use the dot when i access some parametes in the class like. Connect() measure.current(10) trigger() disconnect() the class access some hardware ...
Score how do I pass a parameter or argument from one windows form to another?
Karl Rhodes - 7 Mar 2007 11:35 AM - 3 messages
I have an application which uses mutliple forms for different tasks, all of which are mdi child forms to the applications MDI Parent form. One of these child forms (form1) will be used to select a record from somewhere within a hierarchy (using a treeview and listbox to narrow ...
Score Print Page and Header
ruca - 7 Mar 2007 11:24 AM - 2 messages
Hi, I have a button that when clicked must print the current page after doing something in a certain function. For that I have this code: ------------------------------------------------------------------------------------------------ Private Sub ibtnPrint_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibtnPrint.Click ...
Score How to get a string from a html source code?
Luk - 7 Mar 2007 10:19 AM - 2 messages
Hello, i need to get a string / some strings from a html source code (external) url: [link] there are under "Scherbenwelt" these strings: Ehrenfeste Wohlwollend 6107 / 12000 how i can get them through a vb.net application? ...
Score How can I match a hyphen in this regular expression?
Peter - 7 Mar 2007 6:33 AM - 5 messages
Hi all, I am searching through directories trying to find the prefix to a number of files.  Unfortunately the files don't have a standard naming convention yet. So some of them appear as: THH307A.Monitoring Public Health Issues.doc ' A single period ...
Score RaiseEvent
Jim - 7 Mar 2007 6:18 AM - 2 messages
I am a newbie I am making a control and wasnt to        RaiseEvent txtChange(txtCodeBox) .  this trigger only works once. After I change the frst lettter it stops.  How come ...
Score DataGridView
Tony K - 7 Mar 2007 4:40 AM - 2 messages
I want to perform a specific action but do not know when... I have a DataGridView with 4 columns.  When the second column (  row.Cells(1)  ) is edited and then loses it's focus, I want to set up a query to fill in the ...
Score Does Clone really make a new copy ?
active - 7 Mar 2007 2:58 AM - 19 messages
Console.WriteLine(String.Equals(s, s.Clone.ToString)) s is type string. This returns True. If Clone really made a new copy I'd expect False. Wouldn't you? ...
Score tabcontrol
yoinks - 6 Mar 2007 9:55 PM - 3 messages
Is there a way to vaildate a textbox on a tab and display a message to either leave existing tab of go to the new one. I kind of have this working with the indexchanged event but it is still buggy. ...
Score Queue or the sorts
bucrepus - 6 Mar 2007 9:07 PM - 4 messages
I am trying to create a 'queue', or something like it. I am storing 1 to 6 integers in a list  and need to move backwards and forwards in the list (like the back and forward arrows do in internet explorer, except these are ...
Score Should I use threads when an event is filling a buffer?
HONOREDANCESTOR - 6 Mar 2007 8:47 PM - 4 messages
I am modifying some code that uses 'events' to add to a buffer. Suppose I want to write a routine that will read from the buffer at timed intervals.  Is there a danger that when I read from the buffer, ...
Score Transactional Program Question
Paul - 6 Mar 2007 8:05 PM - 8 messages
I have a VB.NET 2005 program that I am running.  It is transactional in nature and most of the steps are running a query against SQL Server tables.  I have one executable that displays one form.  The form ...
Score complete newbie
jlab13 - 6 Mar 2007 7:03 PM - 4 messages
how do you get an integer answer to be returned rounded? i.e. 9.10 instead of 9.98888, etc. Thanks for any help!! ...
Score Arrays
ksg - 6 Mar 2007 6:30 PM - 3 messages
I am writing an application and I want to be able to setup an array when the form loads with some data I will use throughout the program. Public Shared ptrArray() As String Public Sub Initilize_Variables()         'Load Default Directory Information ...
Score Public Events
Charlie Brown - 6 Mar 2007 6:25 PM - 4 messages
What is the advantage of declaring events in #2 over #1.  Which one should be used? #1 Public Event MyEvent(sender as object, e as eventargs) Private Sub DoSomething()      RaiseEvent MyEvent(nothing, nothing) End Sub ...
Score vbNullString
Lou - 6 Mar 2007 5:51 PM - 14 messages
What's the .NET equivalent Dim strTmp as string If strTmp=vbNullString Posted this earlier in the wrong Newsgroup. ...
Score Changing drive permissions
Mike - 6 Mar 2007 4:52 PM - 2 messages
I am trying to chavge permission on the specific drive and force enheritance so only the user, system, and Administrators have full control.  I can do this using the following, but xcacl needs to be in the system32 folder.  Is ...
Score how to read taskMgr/Proccess to see if an app is running?
Rich - 6 Mar 2007 4:09 PM - 3 messages
Hello, I need to determine if a VB2005 app is running, but I need to determine this from another VB2005 app.  Back in the com days there were various API's to do this apiGetClassName apiGetWindow apiGetWindowLong How to do this from VB2005? ...
Score Clear Graphics
Gus Chuch - 6 Mar 2007 4:06 PM - 5 messages
I got a simple line of code that paints on a panel. I would like to add a clear button to clear the panel but I’m not to sure how. Panel.MouseMove Dim g As Graphics = Me.Panel1.CreateGraphics() ...
Score Detect if autostart
Joh - 6 Mar 2007 3:53 PM - 5 messages
I've developed an application that is launched at system startup. Is there a way to detect when an application is started by autostart and when its launched by a user? ...
Score dynamic table
BillE - 6 Mar 2007 3:50 PM - 2 messages
I'm using vs2005 vb.net. I'm creating a table dynamically which contains about 40 controls. The code executes very quickly, but after the code is completed it takes about 30 seconds for the page to be displayed.  During this time it flickers ...
Score performance profiling help
Jon - 6 Mar 2007 2:17 PM - 2 messages
I have a service written in VB.Net 2. This service runs every 30 seconds and connects to an external web service to get some data, then parses and saves that data to our database. For some reason, after a while the machine it's running on begins to crawl. ...
Score Best way to Call method on MDI Parent from MDI child (vb.net 2005)
Eric - 6 Mar 2007 12:54 PM - 2 messages
I want to call a method on the MDI parent from the child.   Basically the method will set some text (message) on a status strip and show the appropriate icon (for the type of message). I'd also like to put a progress bar on the MDI parent and ...
Score Get treenode value from vb.net 2005 winforms treeview
Karl Rhodes - 6 Mar 2007 12:34 PM - 5 messages
Hi all... Perhaps I'm not going about this the right way, but I wondered if anyone can help? I have a treeview which populates from a datatable using a parent/ child relationship. It stores a company/branch hierarchical structure ...
Score serializing
Niels Wiederanders - 6 Mar 2007 11:42 AM - 2 messages
Hello NG, Im Trying to save some App Data by De-/ Serializing an Object: Public Function DeSerializeFromByte(ByVal Bytes As Byte()) as SerializableClass Dim myObject As SerializableClass Dim mySerializer As System.Runtime.Serialization.Formatters.Binary.BinaryFormatter = New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter() ...
Next » 2 3 4 5 6 7 8 9 10