Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > may 2004 > threads for wednesday may 26

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 30 31

How to build *.dll ?
Posted by Agnes at 5/26/2004 11:43:02 PM
I create two project A, & B . A included several baseforms like search, print,etc For project B , some form will inherits the forms in prjA . In project B, I try to add the referece of prjA and I am fail, i can't find any *.dll in prjA. How can I build the *.dll of prj A? Thanks A lot. From...more >>

Check Windows Services are still running OK
Posted by Chris Podmore at 5/26/2004 11:31:02 PM
I don't know if this is the correct newsgroup but I couldn't find one for Windows Services Is it possible to check that a Windows Service is still running from another machine The idea being a couple of machines will be running my Windows Services to handle certain parts of our application, thes...more >>

VERY weird variable behavior
Posted by petdoc at 5/26/2004 10:32:24 PM
Hi Folks, I am trying to find the most perplexing bug I have had in a vb.net app to date. Here is some code: Dim Data as Short Data = Me.ReadPMAPDigits(pmOffsets.APIAS) Trace.WriteLineIf(blnErrorLogging, Now.ToString & ": Raw IAS: " & Data.ToString, "Data") 'Mask off everything bu...more >>

Monitor mouse events in application
Posted by Lance at 5/26/2004 9:16:03 PM
I need to monitor the status of the mouse on an application-wide basis (i.e., not just for the control that owns the mouse). One I idea I had was to create a shared class that inherits from timer and tests Windows.Forms.Control.MouseButtons and Windows.Forms.Cursor.Current.Position in the tick even...more >>

Visual Basic.NET MDI Child
Posted by J.B. at 5/26/2004 9:11:02 PM
Hi, Simple question, how do I remove or hide the title bar (min/max buttons, caption, icon, etc...) on an MDI Child that is maximized? Thnx J.B....more >>

non-shared member of a class
Posted by Mike Johnson at 5/26/2004 8:47:08 PM
I got the error below, can someone provide the answer in code to the problem listed below. Thanks. You have tried to reference a non-shared member of a class from within a shared method or shared method initialize. The following code provides an example of such a situation: Class Sample...more >>

Distributed application programming
Posted by Tim Marsden at 5/26/2004 8:26:36 PM
I am new to distributed application programming. Could anybody give me advice on how to accomplish the following? I am writing in VB.NET. I would like to keep away from web services and IIS if possible. Perhaps using some form of remoting. I would like to develop an application which sits ...more >>

Pull Non-VB.net program into focus and send keys.
Posted by peter NO[at]SPAM mclinn.com at 5/26/2004 7:33:14 PM
I'm looking to write a program that pulls an application into focus, and then sendskeys to it. Anyone have a link to a tutorial?...more >>



Data Connections into dBase files
Posted by Tomek at 5/26/2004 7:31:44 PM
Hi, Please help me with Data Connections into dBase files. I have catalog with lot of files like *.dbf and *.mdx . Every file contains one table (I can see it in MS Access). How can I make connections into this/that folder/files in VB.NET project? Tomek ...more >>

A little overwhelmed with the number of options...
Posted by Paul at 5/26/2004 6:36:19 PM
hello, My application is built in VB6 and i'd like to upgrade to VB.NET and make some fairly large changes at the same time. The application writes a script (simular to VBScript) for the user based on their selection from combo boxes and entries into text boxes etc, the script is then used ...more >>

Application quits unexpectedly
Posted by Andrew Teece at 5/26/2004 5:12:32 PM
HELP - My application exists.... all on its own... at the end of a function call!!! The code snipit below runs... the finally block runs. But when it reaches End Sub, it exists! - And the proceedure that calls this one, has code left to run, but it never gets to a breakpoint on the next line. ...more >>

Killing off a Descendant
Posted by Phill. W at 5/26/2004 5:03:21 PM
Here's another little challenge. I have a [base] Form from which lots of others will be derived. One of the base Form properties is a communication "channel" to an external application. If this external application isn't running, I want to /prevent/ the creation of the derived Form (essential...more >>

full screen mode
Posted by Doominato at 5/26/2004 4:20:18 PM
good day everyone, i'm writing an app in which i would like to implement full-screen capability. i would like to know if there is a way of getting a program to cover the whole screen, such as in M$ word or in internet explorer. the only reason why i mention ie and word is because they use so...more >>

Comparing GUIDs
Posted by Jeff at 5/26/2004 4:10:41 PM
Hi - I'm experiencing a strange problem when comparing 2 guids. In my trial, they're not equal. When I step through the (VB.NET) code, they are evaluated as equal, and when I enter the comparison in the command window, they're not equal. I'm pretty stumped on this one. Please help. I've...more >>

Expandable Menus
Posted by T Perkins at 5/26/2004 4:02:26 PM
Just curious, does anyone know how to make the menus that have the arrows on the bottome to expand the view. i would like to hide some of the lesser used menu items on an app. thanks tony ...more >>

add a item into a textbox?
Posted by jack.xu at 5/26/2004 4:01:19 PM
a item has a text property and a value property.Can i add a such item into a textbox?And the textbox only show item's text. thanks in advance ...more >>

Getting text from within a string
Posted by jcrouse at 5/26/2004 3:46:06 PM
I’m using VB .Net 2003. I am reading a file into memory. Here is a sniplet of the file [88games gamename='88 Game numPlayers= alternating= mirrored= tilt= usesService= miscDetails=This is a 4 player team type game where 2 players compete each tim P1NumButtons= P1Controls=Just Buttons+bu...more >>

CheckedListBox
Posted by justjump NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/26/2004 3:21:41 PM
lbDeletePeople.DataSource = ds.Tables(0) lbDeletePeople.DisplayMember = "Name" lbDeletePeople.ValueMember = "GeneralTrialInfoID" So the Name that I got from my dataset comes in fine. I have no clue what ValueMember gets.. but that is a field in the dataset. How do I know tha...more >>

Visual Studio Hangs when New Project invoked
Posted by JQA Academia at 5/26/2004 3:11:03 PM
I've reinstalled twice now... I've got the Visual Studio.net Academic version 2003. During installation, I get no errors but when I try to open a new project from the inital start page, it just hangs and then eventually the application stops responding. I'm running on Windows XP Professional, I've...more >>

content files
Posted by Brian Henry at 5/26/2004 2:55:41 PM
Hi, If you have files in your project (like text files and bmp files stuff like that, and config files) and want to have it copied to the bin folder at build (i thought setting the build action to content did this but it doesnt?) how can i get them to copy at each build? thanks ...more >>

HELP: System.NullReferenceException Error
Posted by VB Programmer at 5/26/2004 2:04:04 PM
(Using Whidbey, but I don't think it matters.) I keep getting this error: System.NullReferenceException: Object reference not set to an instance of an object. Here is the line it's happening to: dv.RowFilter = "CustomerID='" & value & "'" (It is happening in the property "Set" code...more >>

Overriding .Enabled
Posted by Phill. W at 5/26/2004 1:48:29 PM
Here's a knotty little problem. I have some nasty little controls that needs to behave in a non- windows-Standard way - don't ask why; it's a large application being converted from some [much] older code and my users are adamant that this behaviour mustn't change. Specifically, I want to be...more >>

VB.Net Windows App Data Grid
Posted by justjump NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/26/2004 1:22:01 PM
Ok I'm trying to create a datgrid. I got data in there from a dataset, but it's not how I want it. I want to format it and put a checkbox for each row and a delete button to delete all checked. I've found tutorials for how to do this in web stuff..but not in a windows application. HELP! ...more >>

Having problems using the GetProcesses from a remote computer
Posted by Steve D at 5/26/2004 1:21:53 PM
I am writing a program that monitors processes on remote computers. I am using Process.GetProcesses(remotecomputername), and it works for some of the computers on the network, but not all of them. Some of the computers give me an Access Denied error. It says that it couldn't get the processes fr...more >>

SNMP
Posted by SLE at 5/26/2004 1:11:56 PM
Hi there, I have found some (free) SNMP wrappers in C# (implementation via sockets), but is it possible to use the standard System.Management classes to "get" SNMP info from any device (e.g. printer)? Thanks, -- SLE ...more >>

How to decalre this in VB.net
Posted by Carlos at 5/26/2004 12:57:51 PM
How do I deckare this in VB.net static const BYTE baEnableScan[ 2] = {0x5A,0x18}; static const BYTE baDisableScan[2] = {0x5A,0x19}; static const BYTE baResetCmd[ 2] = {0x5A,0x00}; Thanks ...more >>

Q: Intellisense
Posted by Geoff Jones at 5/26/2004 12:00:11 PM
Hiya I'm using VB.Net and wondering if somebody could tell me how to stop the Intellisense system doing something rather irritating. Basically, if I write some code for an object as soon as I write the period i.e. dot, I get a list of all the members available. Fine! No problem there. Howev...more >>

How to Strong Name
Posted by Derek Martin at 5/26/2004 11:11:21 AM
<Sigh> - okay, I have given up on the hashing idea, I guess I am going to have to break down and figure the sn gooo out. I keep getting this message when strong naming my assembly (an exe): Unable to Emit Assembly: Referenced assembly 'Interop.Scripting' does not have a strong name. I get...more >>

Sharing Data between forms - strong typed
Posted by Chris Thunell at 5/26/2004 10:26:43 AM
I have 2 forms, on 1 form i use the wizards to create a strong typed dataset with tables from an SQL database... and from that i can do stuff like: me.daEmployee.fill(me.dataset11.tblEmployee) plus some 3rd party controls can see it the datatables etc etc. Is there anyway when i open the seco...more >>

Find instance in a string
Posted by Chris Thunell at 5/26/2004 10:17:24 AM
I'm looking to find in a long string an instance of 4 numbers in a row, and pull out those numbers. For instance: string = "0104 PBR", i'd like to get the 0104. string="PBR XT 0105 TD", i'd like to get the 0105. The numbers will always be 4 digits together. (I'm using vb.net) Any help would b...more >>

Visual Studio Web Forms vs. Access 2003 Forms
Posted by gthompson at 5/26/2004 10:11:07 AM
I'm redesigning my Access Form in Visual Studio (asp.net) so that I can have a Web application connected to the Access Database. It is a user form. Is there any way to have a subform in Visual Studio? I'm trying to keep from making too many changes, since the users have been using this form (wi...more >>

Newbie needs help with command line paramaters
Posted by Steve at 5/26/2004 10:01:32 AM
I have only been working with VB.NET for a couple of weeks. Can someone tell me how to get this to work I want to be able to call a program 'KillOldFiles' with two command line variables Days and Directory KillOldFiles 5,C:\tes When the above is run it should check the c:\test directory for fil...more >>

Disabling the right click context menu (revisited)
Posted by Robert at 5/26/2004 10:01:20 AM
I have downloaded the demo from MS. There is this code in the control: ' Enable or disable IE's context menu? This allows the parent host ' to render its own. Public Property BrowserContextMenu() As Boolean Get BrowserContextMenu = enableCtxMenu End Get Set(ByVal Value A...more >>

Embedded Resource
Posted by brian at 5/26/2004 9:53:03 AM
I previously posted a question about embedding and EXE into a VB.NET EXE and being able to shell to the embedded EXE. A gentleman responded saying to embed the EXE in my program as a resource. I could then access it as a stream, write that stream out to a file and then shell out to tha...more >>

adding a button (data)column to a datagrid?
Posted by Steven at 5/26/2004 9:48:21 AM
Is it possible to add a button datacolumn to a datagrid? If so, how? Can you please give me an example? Thanks! Steven ...more >>

Network Connectivity
Posted by Jerry Camel at 5/26/2004 9:42:18 AM
In VB .Net, is there a quick and easy way to determine if the network cable is unplugged? Without having to wait for a network access timeout? Thanks. Jerry ...more >>

mutli threaded application shuts down all copies of access when issueing quit command
Posted by stmthoma NO[at]SPAM gapac.com at 5/26/2004 9:07:16 AM
I have a windows service that uses office xp automation. Here is the code --------------------------------------- Public Sub CAccessSnapShot() Try Dim objAccess As New Access.Application() Dim vSQLText, vThreadName As String Try ...more >>

.NET Configuration for Remote App Deployment
Posted by Derek Martin at 5/26/2004 8:59:32 AM
I did an Enterprise Policy based on the Hash of the exe file and created a deployment package. It appears to work for users on the local machine's power users group, but not for other users (as most users will not be a power user)...the enterprise level on those machines is read only. This is h...more >>

ISynchronizeInvoke.Invoke call
Posted by Thai Mai Shu at 5/26/2004 8:59:09 AM
What is wrong with my call below. If I change the delegate and the CallBackComplete function to not take in parameters then the .Invoke call works fine. As soon as I put the parameters back I get "Parameter count mismatch." error. Am I supposed to implement ISynchronizeInvoke in order t...more >>

subtracting dates
Posted by Mike Fellows at 5/26/2004 8:44:57 AM
i have 2 dates one is todays date and the other is a future date i want to take todays date from ther future date and tell me how many days difference this is thanks in advance Mike Fellows ...more >>

Programaticly shift the fucus from treeview to child form
Posted by feng at 5/26/2004 8:29:13 AM
Hi, I have a MDI container that contains a treeview and a child form. Clicking on a tree node will open the child form. Right now, the focus stays with the treeview, even after the child form is loaded. When I want, however, is that after a tree node is clicked, and a child form is loa...more >>

VB xml comment
Posted by feng at 5/26/2004 8:23:02 AM
Hi, I heard that since VS.Net 2003, there is a tool available for VB.Net that I can use to create XML comment, just like I can do under C#. Does anyone know where I can find this tool? Thanks...more >>

VB.NET Windows Service
Posted by stmthoma NO[at]SPAM gapac.com at 5/26/2004 8:04:34 AM
I am writing an window service application in vb.net. I have a sub that when called will start looping and doing work as long as the service is running. The problem I have is when I call the sub from the onstart sub the service never thinks it has started. It remains in a "Starting" state....more >>

Crystal Issue
Posted by CJ Taylor at 5/26/2004 7:29:00 AM
Hey everyone, I know there is an online Crystal book floating around here somehwere, lost the link. I want to insert an image into a pictureObject at runtime from my application. Using Crystal 9. anyone know how I can do this (just by loading the .rpt file). Thanks CJ ...more >>

Resource Files
Posted by brian at 5/26/2004 7:11:35 AM
Thanks to this group my previous quesion directed me to using a resource file. But now I would appreciate some help using a resouce file. I have the resouce file loaded and know I can get at my file using: Reflection.Assembly.GetExecutingAssembly ().GetManifestResourceStream("MyApp.RSYNC...more >>

String.Replace question
Posted by Craig Buchanan at 5/26/2004 6:41:18 AM
If I have a string variable, is there a way to get the Replace method to work on *its* contents, without having to dimenstion a second variable? Something like: Dim MyTest as String = "<hello/>" MyTest.Replace("<", "&lt;") MyTest.Replace(">", "&gt;") 'MyTest now equals "&lt;hello&gt;" T...more >>

Dynamically Creating Objects
Posted by chimsuru NO[at]SPAM hotmail.com at 5/26/2004 5:53:46 AM
I know I've asked this before, but I didn't really get an answer and I bet it's because I didn't explain myself very well. Here goes again. I have this code: Dim arrData(intNoOfRows, intNoOfColumns) As Object Dim intR As Integer For intC As Integer = 0 To...more >>

VB.NET CF query remote SQL server.
Posted by Leo_Dee at 5/26/2004 5:51:07 AM
Im new to the VB.NET stuff but I am looking for a way to query a remote SQL database from a pocket PC application. I have done this in the past with VB6 in wondows using data environment disigners but I dont believe that this is supported with the compact framework. Any help or sample code would ...more >>

Forms
Posted by Brandon at 5/26/2004 5:26:02 AM
Hello I apologize for my ignorance of .NET, but my network administrator installed it instead of VB6 and I have some projects that need to be written in a hurry. I can't seem to code any of my projects like VB6. I would like to do several things 1. I would like to concatinate the value of a text...more >>

Netiquette in this newsgroup
Posted by Cor Ligthert at 5/26/2004 3:30:13 AM
Hallo, One of the netiquettes is not to answer newsgroup questions, which are placed in future. This behaviour is well known because in this case the message stays in most newsreaders in top op the reader. The netiquette says not to answer those questions. For those who are new can hav...more >>

How to terminate sub-thread processes
Posted by Li Pang at 5/26/2004 3:01:05 AM
Hi I make an app which can run some sub processes through multiple threads. I'd like to know how to terminate all sub-threads when the main thread is closed thanks in advance...more >>

Errortext in datagridrow
Posted by Lekker Ding at 5/26/2004 1:38:56 AM
Hi In which object/class can i find the errortext that displays once i hover over the (red) erroricon in the current row of a datagrid? Thanks! LD *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Handling windows scroll
Posted by amirali000 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 5/26/2004 1:20:22 AM
Deal All, Will somebody guide me how I can handle Windows scroll. Means, it should be in my hand when I allow scrolling or not. Also, Scroll should be visible and enabled always. Is it possible. Amir Ali. Posted Via Usenet.com Premium Usenet Newsgroup Services -------------------...more >>

Marshalling question
Posted by MyAlias at 5/26/2004 12:26:11 AM
Private Structure WCRANGE Dim wcLow As Short Dim cGlyphs As Short End Structure Private Structure GLYPHSET Dim cbThis As Integer Dim flAccel As Integer Dim cGlyphsSupported As Integer Dim cRanges As Integer -> <MarshalAsAttribute(UnmanagedType.ByVal...more >>


DevelopmentNow Blog