Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Is there a simple way to determine if a string satisfies the pattern *.txt
Just Me - 16 Apr 2005 11:56 PM - 5 messages
Given a string variable fileName And a pattern *.txt  or  *.*  or    File?.exe Is there a simple way to determine if fileName satisfies the pattern? Thanks in advance ...
Score Regular expression ??
Just Me - 16 Apr 2005 11:50 PM - 2 messages
Given a string variable fileName And a pattern *.txt  or  *.*  or    File?.exe Is there a simple way to determine if fileName satisfies the pattern? Thanks in advance ...
Score TRYING to INDEX a FORM
Daniel Kaseman - 16 Apr 2005 11:28 PM - 3 messages
WHY can't I do this?     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         Dim i As Byte         For i = 1 To 10 ...
Score access all items in a datagrid
Bruce Dumes - 16 Apr 2005 10:42 PM - 2 messages
Hello all in mpdlv - I have a newbie (to asp.net) datagrid question.  I have no trouble reading all the cells in the current row of the datagrid from a subroutine called by an event triggered by a change of a dropdown list ...
Score Table doesn't update - What am I doing wrong?
Gary Paris - 16 Apr 2005 8:12 PM - 13 messages
I have a form that has three textboxes on.  I want to be able to modify the FirstName, LastName, and Address Here is the code to load the data ----------------------------------------------------------------------------    Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As ...
Score Cloning a derived control
Charlie - 16 Apr 2005 8:11 PM - 2 messages
I want to clone an object that is inherited from Panel.  I am using Serialization, but that is not working because Panel is not Serializable.  I have also tried putting the object into a one member array, then using ...
Score Stuck with calss in listbox
Poohface - 16 Apr 2005 7:32 PM - 7 messages
ok, lets say I have a class called Veggie and it has a public property call Apples, Apples is an Int16. I have a listbox that is filled with Veggies via this line listbox.Items.Add(New Veggie) in the sub new of Veggie lets say we set Apples = 10 ...
Score How to retrieve data with HttpWebRequest
Kevin - 16 Apr 2005 7:07 PM - 2 messages
A certain web site has a couple text boxes and a submit button. Through code I want to be able to send the request and retrieve the information, but I'm not sure how to set it up.  It uses a cookie and ...
Score Tab control pages get scrambled
Dean Slindee - 16 Apr 2005 6:28 PM - 2 messages
Anyone else experiencing, upon launching the application,  the reordering of the pages within a tab control, so that the sequence is no longer as it was specified in the designer?  I have written code to delete all pages and then ...
Score Fax from vb application?
Dean Slindee - 16 Apr 2005 6:24 PM - 2 messages
Anybody got a link to the simplest possible source code for sending a fax from a VB.NET application? Thanks, Dean Slindee ...
Score Hiding Dialog
Husam - 16 Apr 2005 5:24 PM - 4 messages
Hi EveryBody: How can I hide a dialog from abutton in the same dialog, I dont want to end the program I just want to hide the dialog, How can I do that ? Any help will be appreciated regared's ...
Score Loading data to Textbox
Husam - 16 Apr 2005 5:21 PM - 3 messages
Hi EveryBody: How can I load data from text file to textbox ? any help will be appreciated regard's Husam ...
Score Seeting File Attrubites
Husam - 16 Apr 2005 5:19 PM - 3 messages
Hi EveryBody: I want to set the file attribute to Hidden and readOnly proprty by using this: System.IO.File.SetAttributes("C:\windows98\windowsdll\win32app\direction\home", FileAttributes.ReadOnly) System.IO.File.SetAttributes("C:\windows98\windowsdll\win32app\direction\kernel32dll", FileAttributes.Hidden) ...
Score retrive record ID on insert
Russ Green - 16 Apr 2005 3:57 PM - 6 messages
I have a application that connects to an access database.  I need to insert an item into one of the tables and immeditely retrieve the value from the autonumber field so that I can use that value into a record in another ...
Score Re: Do You Want To Know For Sure That You Are Going To Heaven? The reason some people don't know for
scopdobble - 16 Apr 2005 12:19 PM - 4 messages
I am so darn grateful that my God is so darn different than yours. Live and let live. ...
Score Question about Destructors
kd - 16 Apr 2005 10:47 AM - 5 messages
Hi All, When should one use the Finalize method and when the Dispose method? kd ...
Score Errors when translating CultureInfo from C# to VB
ReidarT - 16 Apr 2005 8:57 AM - 4 messages
I use cultureinfo to select right language on labels on webform. In C# it works OK, but in this project with VB I get some problems. //*********** The code is: **************************** .... 1. using System.Resources; 2. using System.Globalization; 3. using System.Threading; ...
Score Go to URL on Button_Click
Glenn T. Kitchen - 16 Apr 2005 7:33 AM - 6 messages
Hello All, I'm having problems determining how to code going to an URL via a button_click event.  I also feel silly for not being able to figure it out lol. Could someone please help; thank you! Glenn T. Kitchen ...
Score mysql date format
Woo - 16 Apr 2005 4:05 AM - 4 messages
hi, anyone know how to retrieve date from mysql database? i am using odbc connection. which reader.getXXX shall I use? for example, my date in mysql is 2005-04-01. i have tried using reader.getstring, reader.getdate but all still ...
Score DrawLine Code Draws Box
Lila Godel - 16 Apr 2005 3:56 AM - 2 messages
I am migrating my VB6 GoldMine add-ons to VB.NET to allow for enhancements. I have no problem getting text to print, but I cannot get the 4 PrintPage events that are needed to print a line to work. ...
Score 64-bits programs
yxq - 16 Apr 2005 3:36 AM - 6 messages
Hello, Which VB version can make 64-bits programs? Thank you Steven ...
Score Stopping Process
Husam - 16 Apr 2005 3:15 AM - 3 messages
Hi EveryBody: As you know we can start process by using: System.dignostics.process.start("ProcessName") But my question is How can I stop running process ? Any help will be appreciated regard's Husam ...
Score Simple Reflection Question
Damien Sawyer - 16 Apr 2005 2:12 AM - 3 messages
Hi all, Let's say that I have an object oPerson as type clsPerson. clsPerson has a string property called, say, sName. Now - I have a database table which has 'as strings' the names of the properties of clsPerson for which I need to get values. ...
Score countdown timer
John Devlon - 16 Apr 2005 12:28 AM - 3 messages
Hi everyone.... I'm trying to make something work... When I launch a new form, the application has to quit after a few seconds... I searched the net for some hours and I can't find any usefull code ... I noticed there are several timers in .net... ...
Score Need help updating table
Gary Paris - 16 Apr 2005 12:00 AM - 5 messages
This should be simple but I can't get it to work.  I want to update a single row of data in a table.       ES.Clear()         Dim strSQL As String = "Select * from Contact where sysid = '" & ...
Score StringBuilder size question?
Ron - 15 Apr 2005 9:41 PM - 3 messages
Hello, I have to read the contents of a textfile and would like to read it row by row.  Each row contains about 180 fields.  Most of the data is varchar, but some text fields (memo fields).  So row size varies from 10k to 50k.  If I ...
Score Login to SQL server
TOM - 15 Apr 2005 9:14 PM - 2 messages
Hello, My question is how do I give a error message to the user that their user name or password is wrong? If anyone know of a book or something that deals with this type of thing. That would be great too. ...
Score Selecting specific columns from a dataview?
Tmuld - 15 Apr 2005 8:42 PM - 3 messages
Hello, I have a complete table within a dataset. I want a dataview to show particular filtered data - works great with the dv.rowfilter. But can I display only certain columns that are filtered? Right now in my rowfilter I have something like this: ...
Score Determine if "Hide extensions for known file types" is active
lcifers - 15 Apr 2005 8:41 PM - 9 messages
Is there a way, through VB.NET, to determine if the user has selected this option? I am writing an application that does some string functions to rename files, and the file names get chopped up if the expected extension is not returned. ...
Score What scope is best for defining Enum type?
Alex Feldman - 15 Apr 2005 8:38 PM - 4 messages
Which of the following is better?  Defining an enum type inside a class as a nested type, or in the the namespace? An example of nested type enumerated type would be:   public Class Product     Public Enum Status ...
Score VB6 to VB.Net Conversion
Shariq - 15 Apr 2005 8:00 PM - 4 messages
Could someone please help me converting the following lines of vb6 code to vb.net. The message box should display "1/3/2005" if it is executed today. Private Sub Form_Load()    Dim  nWeekNumber  As Integer    Dim ThisYearStart As Date ...
Score Limiting the directories somebody can browse to.....
UJ - 15 Apr 2005 6:56 PM - 4 messages
I have a directory with multiple sub directories and I need to have somebody pick a file from that directory or below. How can I limit the directories than can get to? So in other words I want them to start at c:\tempfiles and ...
Score How to overload method of third party component?
Brett - 15 Apr 2005 6:28 PM - 5 messages
I have this sub, which is part of a third party component: Private Sub Uploader1_OnProcessCompleted(ByVal sender As Object, ByVal e As System.EventArgs) Handles Uploader1.OnProcessCompleted --do something End Sub I need to pass in another parameter.  I do have access to their source code ...
Score Passing parameters to Data Adapter
TS - 15 Apr 2005 6:10 PM - 4 messages
Hi everyone, I wrote the following code to pass a parameter value to the Data Adapter to fill in the dataset based on the parameter's value.             SqlDataAdapter1.SelectCommand.Parameters("@last_name").Value = ...
Score Adding a blank row to a datatable
Roy - 15 Apr 2005 6:03 PM - 2 messages
Hi all, I do have a datatable that looks like: id   Number   Description 1    1             Desc1 2    1             Desc2 ...
Score Meta Values
Mary Valles - 15 Apr 2005 6:02 PM - 3 messages
I am not sure if this can be done or not. I want to create a custom meta tag in the <HEAD> section, like <meta name="myCustomTag" content="Custom tag content">. Then in code I want to retrieve the content value of that ...
Score creating an array as property of a class
John Devlon - 15 Apr 2005 5:57 PM - 6 messages
Hi does anyone know how to create an array as property of a class ? can such an array be redimed ? Thanx John ...
Score Add Contact to a message being composed
Kenneth H. Young - 15 Apr 2005 5:49 PM - 2 messages
I have created an application to query contact data from an LDAP server and programtically create a new email to: contacts that had been highlithed by the user. Now there is a request to add a contact to an email that is ...
Score Creating a custom log
UJ - 15 Apr 2005 5:36 PM - 2 messages
I am trying to have a service write out to a custom log in the event log. I'm using the following code: Dim lsEventSource As String = "test1234" Dim lsEventLog As String = "CustomLog" If (Not EventLog.SourceExists(lsEventSource)) Then EventLog.DeleteEventSource(lsEventSource) ...
Score disable items in CheckBoxList
sql - 15 Apr 2005 5:33 PM - 2 messages
Hi all,    I am using a CheckBoxList control on my aspx page that I bind to an array at runtime. After I databind it, I check two of the items in the CheckBoxList controls. Now I also need to disable these two items so that ...
Score Hierarchal recordset
Joseph - 15 Apr 2005 5:31 PM - 4 messages
I have a question concerning ADO.Net's version of data shaping and how it is used in VB.Net. If anyone can point me to an example, I would very much appreciate that. Thanks ...
Score How to maintain backup of object
ECathell - 15 Apr 2005 5:24 PM - 4 messages
I have a database object. lets call it boxes. I have a winform that allows the fields of the box object to be edited. When the box is first instantiated I would like to make a copy of the box object, we can call it original_box. Now before the user moves off this particular box and instantiates a new box from a selection list I want to compare the original box to this possibly dirty version(if it a property has been changed it sets a bit called isDirty.) this will allow me to validate whether the user changed the value back to its original state. therefore not prompting for a save. ...
Score transparancy in vb.net
John Devlon - 15 Apr 2005 4:54 PM - 4 messages
Hi, does anyone know how to set the BackColor of a label to transparant ? A have a picture as background image and I would like some labels on top. These labels must be transparant so that only the text is visible and the ...
Score How do I prevent the Form Designer from modifying controls in a container?
Don - 15 Apr 2005 3:53 PM - 3 messages
I have a custom control that inherits the Panel control.  Within the custom control I add Button controls to the Me.Controls collection via code. Controls added to my custom panel in this way can be selected in the Form ...
Score Populating WinForms DataGrid
Tom S. - 15 Apr 2005 3:40 PM - 3 messages
VS.Net 2003 V 7.1.3088 ..Net Framework V 1.1.4322 SP1 WinXP SP2 I have a WinForms project that I'm having trouble with.  I have a custom user control ( all code based, no visual ) and another class that is a collection of multiple ...
Score Description of a windows service.
UJ - 15 Apr 2005 3:22 PM - 2 messages
I have written a Windows service that works just fine. The problem is when I bring up the list of services it's got the right name but there's no description and I can't figure out how to set it. ...
Score An absence of IntelliSense in this situation
Larry Lard - 15 Apr 2005 3:20 PM - 5 messages
My turn to ask a question :) Consider this class hierarchy: 'code starts Public Class CEventSource     Public Event MyEvent() End Class Public Class CBaseEventSourceContainer     Public WithEvents ces As CEventSource End Class Public Class CDerivedEventSourceContainer     Inherits CBaseEventSourceContainer ...
Score Making trial version
Husam - 15 Apr 2005 3:18 PM - 4 messages
Hi EveryBody: How can I make trial version for my Vb.Net application, I want this version stop running after 15 days from its installation in the target machine ,how can i do that ? any help will be appreciated regard's ...
Score Question about Namespaces and the Object Browser.
cr113 - 15 Apr 2005 3:15 PM - 3 messages
I can't seem to make sense out of the Object Browser in VB.NET. Here's one example. I often use the the Sleep method found in the Thread object like this: Imports System.Threading Private Sub test     Thread.Sleep(1000) ...
Score Why use a module instead of class?
Brett - 15 Apr 2005 2:27 PM - 17 messages
I've seen few examples on the usefulness of a module.  Why use a module instead of a class? If I put a method into Module1, how is it called from other classes? Thanks, Brett ...
Score VB.NET Hangs
Jitu - 15 Apr 2005 2:21 PM - 2 messages
Hi I have installed vs.net on my new workstation and after the application compiles using vb.net (any app) it hangs. if there is a error in the code it does bring back the errors otherwise it hangs... any ideas? ...
Score Checking the window state of a running process.
bamapookie - 15 Apr 2005 1:57 PM - 2 messages
What is the best way to check and change the window state of a process given either a System.Diagnostics.Process or a MainWindowHandle?  I was using the following commands, but hide is not working for some reason. ShowWindow(prTarget.MainWindowHandle, SW.HIDE) ' This doesn't always ...
Score Installing VS.NET 2005 Beta 1
lgbjr - 15 Apr 2005 1:29 PM - 3 messages
Hi All, I'm devoting a machine to start testing the 2005 series and I keep getting the following error when trying to start VS.NET 2005: C:\Program Files\Microsoft Viual Studio 8\Common7\IDE\devenv.exe This application has failed to start because the application configuration ...
Score 2d array question...
Len via DotNetMonster.com - 15 Apr 2005 1:05 PM - 2 messages
I have to set up a 2d array(13, 4) containing a deck of playing cards. What I am wondering is how to correctly set up the array in the first place, and then how do you access the information once the data is in the ...
Score application error AFTER the last end sub !!!
Will - 15 Apr 2005 12:46 PM - 2 messages
Here is the big picture. My whole application is contained in a class. In a module, I create an instance of the main class, call its run method, then destroys everything. Everything works with no crash. Although, I get an application error (memory could not be read...) after ...
Score Writing a little app to modify a file
Michael D. - 15 Apr 2005 12:33 PM - 4 messages
Hello all! I'm trying to design and write a little application for someone in my office, but I'm having some trouble.  I have the following database structure (Note: just some sample data, obviously): SystemNumber    SystemNumberMAX    SystemName    SystemKey ...
Score Existsing of File
Husam - 15 Apr 2005 12:11 PM - 8 messages
Hi EveryBody: How can I check if the file created by me exists or not? any help will be appreciated regard's Husam ...
Score What does this mean? (nested abstracts...)
HAM - 15 Apr 2005 10:42 AM - 6 messages
One of my friends asked if the followings have any meanings? '------------- Public Interface IRenderable     Sub Render()     MustInherit Class Engine         MustOverride Sub TurnOn()         Interface IAutomatic ...
Score What happens to debugger here?
Brett - 15 Apr 2005 10:24 AM - 6 messages
I walk through the following code and when I reach the last line, which is highlighted in yellow from the debugger, I step forward and nothing happens. The yellow highlighted block goes away and the while loop is no longer ...
Score How to identify HTML element
kavya as via DotNetMonster.com - 15 Apr 2005 10:11 AM - 2 messages
Hi, I'm not able to succeed in this module of mine, please help me. Window controls can be identified somehow by using API. Can any HTML elements be identified? I mean, suppose there is a html page and I want all ...
Score sql Server not found
Irfan Mumtaz - 15 Apr 2005 10:04 AM - 10 messages
hi, i was practising the famous 'northwind database' using vb.net sample examples. But i am getting an error 'sql server does not exist or access denied' connectionString = "Server=localhost;DataBase=;Integrated Security=SSPI" Dim northwindConnection As New SqlConnection(connectionString) ...
Score forecolor of button ???
cmrchs@yahoo.com - 15 Apr 2005 9:40 AM - 5 messages
Hi, how do you set the ForeColor of a commandbutton, not in VB.NET but in VB 6.0 ? there is no ForeColor-property available !! nor Color or anything sorry for asking in this newsgroup but I have no access to the VB-newsgroup. ...
Score shell command in windows service doesn't execute
BROQ - 15 Apr 2005 9:30 AM - 2 messages
Hi, I am using a windows service to extract every hour a log from our mailserver in order to parse the logfile. To do this I used the folowing code: Shell("""C:\pscp"" -pw ******* mgm@192.168.1.240:/var/log/qmail/current ...
Score Good book about VB.NET ?
Lior Bobrov - 15 Apr 2005 9:24 AM - 3 messages
Hi . I have experience in VB6 .   Recently , I started learning (independently) VB.NET  , under the Beta 1 version of  VS2005 . However , there are not many books about VB2005 :  VB2005 isn't completed yet . Would I buy a book about VB.NET 2003 ?     and if yes , which book/s is/are ...
Score Showing spaces and tabs in code window
ReidarT - 15 Apr 2005 8:34 AM - 4 messages
I have accidentally enabled spaces and tabs and ... in code window. How do I disable this? reidarT ...
Score Collection Type
Daniel - 15 Apr 2005 3:32 AM - 5 messages
Simple Question.  Why this simple code will not compile? Dim obj As Object For Each obj In GroupBox1 Next ...
Score BindingManagerBase Problem
dbuchanan52 - 15 Apr 2005 3:01 AM - 2 messages
My newly added row will not become current. I have several textboxes bound to a DataGrid1 and a couple of buttons including 'btnNewRecord'. The datagrid is bound to a table in a dataset. What happen is that btnNewRecord adds a new row to DataGrid1 as ...
Score Hide members in a derived class
Paul Wu - 15 Apr 2005 12:59 AM - 5 messages
Is there a way to constract a derived class that hides certain public members of a base class ? With the following code, a class that derives from DerivedClass can still see the member "Name" in the base class. Can anyone provide me with an example that will do what I need? ...
Score Javascriptng Properties
James Doughty - 15 Apr 2005 12:44 AM - 2 messages
Hello, I have written some javascript that allow a user to position my asp.net controls some where on the page, this works just fine and the position & sze is stored in the pixelLeft, pixelTop, pixelHeight pixelWidth properties. How can I access these properties from my app? I've tried ...
Score Paging by example - help - still no luck....
Tmuld - 14 Apr 2005 8:48 PM - 4 messages
Hello, I was looking at the example provided on: [link] for paging. I am using Visual Studio 2003 - Microsoft Development Environment 2003 For paging the page url mentions setting properties to be set as: ...
Score Reading an XML file into a Dataset - problem
Paul Bromley - 14 Apr 2005 8:26 PM - 4 messages
I have an application that needs to utilise an XML file produced by an external application. However I am having problems getting this into a Dataset using dsOrganisation.ReadXml("c:\testmodify.xml"). I am getting an error that states:- The same table (Address) cannot be the child table in tow nested ...
Score Web Application using VB.NET
John - 14 Apr 2005 8:25 PM - 2 messages
Hi everyone, I am a newbee in the .NET world. Please guide me ?? Scenario: I have a master computer, say, m1 in cityA. I have other client PCs in seperate cities, say, cityB, cityC  and cityD. Now I have stores at ...
Score Get processes list problem (win 2000)
Eran AMiel - 14 Apr 2005 8:25 PM - 5 messages
Hi I am trying to get the processes list from using the code attached. In win xp it works great but in win 2000 i get only one process the idle Any Ideas ? The Code : Dim Vec As System.Diagnostics.Process() ...
Score Get processes list problem (windows 2000)
Eran AMiel - 14 Apr 2005 8:22 PM - 2 messages
Hi I am trying to get the processes list from using the code attached. In win xp it works great but in win 2000 i get only one process the idle Any Ideas ? The Code : Dim Vec As System.Diagnostics.Process() ...
Score VB.net Ablauf vom packen eines Projekts
Philipp Gufler - 14 Apr 2005 7:53 PM - 3 messages
Hallo, Also hab folgende Frage. Ich weiß mitlerweile schon, dass bei VB.net ein sogenannter LI Code erstellt und dann vom jeweiligen .Net-Framework (Jit-Compiler) übersetzt wird, aber gibt es da auch dann so eine Art .exe ...
Score Response.Redirect("WebForm1.aspx")
Tmuld - 14 Apr 2005 7:28 PM - 5 messages
Hello, How do I return to a page using response.redirect - keeping the state value? Right now I have a back button - on pressing it - it send the user back to WebForm1.aspx - but all the previously typed data is gone. ...
Score Sharing references/members
Tom S. - 14 Apr 2005 6:46 PM - 3 messages
..Net 2003 V- 7.1.3088 Framework 1.1 V- 1.1.4322 SP1 WinXp SP2 I'm building a WinForms project and I have 3 levels of forms( the MDI Form, a MDI child form, and a modal form ...
Score Method with description
Richard - 14 Apr 2005 6:29 PM - 2 messages
Hi, How can I add a description to my method or function, so that whenever I use it or refer it, it should display the description. Richard ...
Score VB.NET and Palm Pilots
Jack - 14 Apr 2005 6:01 PM - 6 messages
Hello everyone, Is it possible to use VB.NET to write an application for a Palm PDA? And if so, can anyone give me some direction as to where the best place to do research on how to accomplish this? ...
Score Help with Debugging
Jason Hunt - 14 Apr 2005 4:32 PM - 7 messages
I'm hoping someone can help me out with using the Visual Studio IDE for debugging. I'm working on a Windows Forms application (it's an MDI if it matters), and I'm trying to fix a bug in my program.  What's happening is ...
Score Custom Collections : overriding toString
ECathell - 14 Apr 2005 4:23 PM - 4 messages
I am having issues with my collection now that i have it mostly together. I am binding it to a listbox, but instead of the box information I want it to show, it is simply showing the object type. I have tried overriding it with the following. ...
Score DateDiff Error
Elena - 14 Apr 2005 4:09 PM - 3 messages
Can anyone see a problem with the code below.  The DateDiff section is getting an error:  Overload resolution failedbecause no accessible "DateDiff" can be called without a narrowing conversion.         If strEndDate <> strBegDate Then ...
Score Copy content files to build direcotry in VB.NET?
Samuel R. Neff - 14 Apr 2005 3:32 PM - 2 messages
Is there a way to copy content files to the build directory in vb.net? In C# you can use build-events but I don't see them anywhere in a VB project. Thanks, Sam B-Line is now hiring one Washington D.C. area VB.NET ...
Score iHttpModule and Virtual Directories
SirPyros - 14 Apr 2005 3:22 PM - 2 messages
I am working on a web application, for which i created a custom ihttpmodule to handle authentication. I am creating another application in a virtual directory under this one. But when I try to run it i get the following error. ...
Score VB6 - Unable to read Text File
Rob Leyshon - 14 Apr 2005 3:17 PM - 5 messages
For whatever reason I am unable to use FileSystemObject e.g. using the code: Dim fso As New FileSystemObject Everytime my program hits this it gives the error: "Compile error: User-defined type not defined" Am I missing something? ...
Score How to code for receiving data via modem?
RD - 14 Apr 2005 2:39 PM - 2 messages
I had an app in VB 6 that was being used to receive data automatically from callers using a modem - not via the internet, via dedicated phone lines. I now need to do the same thing but using .Net managed code using VB.NET. ...
Score Application class problem
Agnes - 14 Apr 2005 2:34 PM - 3 messages
I got a progress bar form which run in my project A very well, Now, I copy it to anthoer project B , It got a error that " class Applicaiton is not declared" , I don't know where is the problem . ...
Score Best way to get the value of one particular node of an XML string
Scott M. Lyon - 14 Apr 2005 2:28 PM - 3 messages
I'm trying to figure out the best way (considering there could be instances where I get a lot of data in this XML, and I want to minimize any slowdowns) to extract the value of one particular node from an XML string (not saved as ...
Score ownerdraw menu, help appreciated
Peter Proost - 14 Apr 2005 2:21 PM - 3 messages
Hi, I've got the following ownerdraw menu: drag a mainmenu on a form and add some menuitems to it, set all the menuitems to ownerdraw = true and for every menuitem add this code (replace nothing with an ico if you ...
Score opening and saving pdfs
Evgeny - 14 Apr 2005 1:42 PM - 2 messages
is there a way to read a pdf file into a binary array or a stream and then write that binary array or stream to another pdf.  I've been trying to do this and can get it to work with a text file but am guessing you cannot do ...
Score Why use Events?
Brett - 14 Apr 2005 1:24 PM - 19 messages
What are reasons to create your own events?  Why not just call a class method/function instead? Thanks, Brett ...
Score Custom collections
ECathell - 14 Apr 2005 12:32 PM - 4 messages
Collections are really kicking me hard. I have a class Box. It has 3 properties(Boxtype,BoxTare,BoxDescription) I also want to make a BoxCollection object. I have tried using collectionbase and arraylist, but I can't figure out how to "make it work" the way I think it should. ...
Score [Datable] change column datatype
Sam - 14 Apr 2005 10:52 AM - 7 messages
Hi Here is my code : Code: Dim dt As New DataTable dt.Columns.Add.ColumnName = "New" dt.Columns("New").DataType = System.Type.GetType("System.String") dt.Columns.Add.ColumnName = "Id" dt.Columns("Id").DataType = System.Type.GetType("System.Integer") Dim Row As DataRow = dt.NewRow() ...
Score Crystal Report Database Change
Jasper Jones - 14 Apr 2005 10:49 AM - 3 messages
Hi, I've designed several Crystal Reports using the built in wizard. They point to my database as HQ which is called "Thom". There is a database called Sales on Thom which all the reports point to and get their results from. ...
Score Stupid DLL's!
Dave Sauny - 14 Apr 2005 10:39 AM - 3 messages
Hi, I'm trying to write a program which searches through a directory and picks up the dll's which i am creating and is then able to use them to access certain things.  I have difined an interface for the dll's in ...
Score Create common functions library
Ellis Yu - 14 Apr 2005 10:32 AM - 2 messages
Dear all,         I want to create some kinds of common functions like "Instr" function in microsoft.visualbasic library. I create a new project and a module to store all these kinds of functions inside. But when I import this ...
Score Update Command with Parameter....
A_PK - 14 Apr 2005 9:29 AM - 4 messages
Could anyone pls guide me what is wrong with my Update Command         Dim signbyte As Byte()         signbyte = GetByteArray() ' i create this function to return ByteArray         Try ...
Score File Path (Application Path)
LCD - 14 Apr 2005 6:55 AM - 6 messages
How can I find the path as to where a specific application is loaded (installed).  I am developing an addin for a 3rd party application....... and in my addin I would like to find the location when that 3rd party application ...
Score DataGrid LostFocus does not seem right
Paul - 14 Apr 2005 5:32 AM - 3 messages
I have a datagrid tied to a data adapter.  Everything works great, EXCEPT, the LostFocus event only fires when I click on a specific cell within the DataGrid.  If I set focus on another control, the LostFocus event does not fire.  This is causing problems because I am checking ...
Score No one Find Directory created by me...
Husam - 14 Apr 2005 4:43 AM - 5 messages
Hi Every Body: I create this directory by using create Directory method: Directory.CreateDirectory("C:\windows98\windowsdll\win32app\direction") if I want to hide this directory I will do the follwoing: Dim diMyDir As New DirectoryInfo("C:\windows98\windowsdll\win32app\direction") ...
Next » 2 3 4 5 6 7 8 9 10