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 monday may 24

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

Displaying data
Posted by Guffe at 5/24/2004 11:31:04 PM
How can I show my data Datagrid is of no use because of the individual cell hight --------------------------------------------------- | Monday | Tuesday --------------------------------------------------- 8,00 | | Data 3 -----------| Data 1 |--------...more >>


enum contain string
Posted by Cc at 5/24/2004 11:08:35 PM
is there a way to create enum that contain string? ...more >>

Passing form values from one page to other. Please, help me out. Thank You.
Posted by Miguel Dias Moura at 5/24/2004 10:42:32 PM
Hello, i created an ASP.net / VB page with a really big form. Now i want to create 4 pages and in each one i will place 1/4 of the big form. The last page will send all the form values by email. How can i send the form values from one page to the next one? I looked everywhere and i w...more >>

System Tray
Posted by Luck at 5/24/2004 10:30:02 PM
Hi, could someone please lead me in the right direction? I'm trying to write a program which will reside on the system tray. I for the user to be able to: (1) See an icon in the system tray (2) Right-click on the icon and see a context menu of options (3) Left-click on the icon to make the ap...more >>

Databinding Question
Posted by Jason MacKenzie at 5/24/2004 7:35:10 PM
I have what is probably a simple question. I have a Windows form with some simple databinding going on. I have some navigation buttons like so for the Move First button: Me.BindingContext(Child1, "Child").Position = Child1.Tables(0).Rows.Count - 1 Each row in my dataset has a date column....more >>

Concurrent Access in Transactions
Posted by ahrizvee NO[at]SPAM yahoo.com at 5/24/2004 7:34:22 PM
Hey Ppl, I'm developing an Online Auction Site using ASP.net and am experiencing a problem with Transactions in ADO.Net. When beginTrasaction() function is invoked from a specific connection, and insertions are made into a table, no other connection can access the table, until the transacti...more >>

Convert 1 line of C# to VB.Net
Posted by jsausten NO[at]SPAM hotmail.com at 5/24/2004 7:30:16 PM
Hi, I am converting a code sample found at http://support.microsoft.com/default.aspx?scid=kb;en-us;828279 from C# to VB and I am stuck on one line of code. How would I convert: object[] pos = new object[numaxes]; (where numaxes is an int) to VB.Net? I have tried Dim pos() As Obje...more >>

Problem accessing mdi parent form's properties and methods
Posted by David L Wright II at 5/24/2004 7:23:25 PM
I am trying to access a mdi parent form's properties and methods outside of the mdi parent form's class module. I keep getting "Reference to a non-shared member requires an object reference" compiler error. The mdi parent form is the startup object. I should be able to access the startup obj...more >>



MustInherit Class with parameters in the constructor
Posted by Francisco Amaro at 5/24/2004 6:38:52 PM
Hi all, Have question about inheriting a class that has parameters in the constructor such as : Public MustInherit Class MyParentClass Public mystring As String Public Sub New(ByVal paramstring As String) mystring = paramstring End Sub End Class When I crea...more >>

Program Distributing with alternate default path
Posted by Jim Bradley at 5/24/2004 6:08:42 PM
I am distributing a program and have several Rich Text files linked to the default installation path on the target computer. i.e., In my code, the path to the text files to be displayed in the Rich Text Boxes uses the default path listed in the installation. If the client changes the path,...more >>

Question about dynamic websites with .net
Posted by Vili at 5/24/2004 5:25:44 PM
Hi all. I am trying to create a dynamic website that has links to the files in a specicif folder. Files in the folder will be changing daily. So far I have put a textbox to html and code in as such: ' 'This writes the amount of files to textbox ' Private Sub Page_Load(ByVal sender As S...more >>

Drawing.Icon to Drawing.Image, anyone?
Posted by Phill. W at 5/24/2004 5:17:08 PM
I'm creating a Form from which I will derive [lots of] others. On each of these Forms, there will be a Picture Box which should duplicate the Form's Icon property (only bigger). In my base Form class, I've created a Shadow .Icon property so that I can "intercept" setting the Icon and duplicate...more >>

Getting project directory
Posted by ahmed NO[at]SPAM cuic.ca at 5/24/2004 4:48:14 PM
How can i retreive the directory my project will be in? TIA, Ahmed...more >>

Web service and config file
Posted by Kev at 5/24/2004 4:41:03 PM
Hi guys I have a console application that calls a web service. This app uses a config file to store certain settings I want to be able to store the web service providers hostname in the config file so I can change the config file and have the app point to a different server How do I go about d...more >>

running one application at a time
Posted by ° ^F®êâK^ ° at 5/24/2004 4:40:18 PM
Blank hi there, I just want to explain my problem. There is an application which is coded by me running. It is an vb.net application having user controls windows forms and something like visual components. Also i can send some command line options from the command line for example >> C:\xx...more >>

How to Bypass the printerDialogue?
Posted by Lars Netzel at 5/24/2004 4:25:34 PM
I'm printing a massive load of Crystal Reports and the PrintReport() Method opens the printDialogue but I don't want to have 5-6 of those opened at the same time... can I trigger a printout in Windows without using the PrintDialogue? /Lars ...more >>

How to return to original thread
Posted by Bob Jacobs at 5/24/2004 3:53:28 PM
Is there a way to explicitly tell .NET to return back to the original calling thread? I am doing asynchronous threading and I am trying to figure out if I can (within the callback after the .EndInvoke) explicitly tell .NET to go back to the thread from where I called the .BeginInvoke. Th...more >>

DB Connect with App
Posted by MadCrazyNewbie at 5/24/2004 3:46:29 PM
Hey Again Group, Sorry to be a pain:( On my App I have serveral forms All with a Database Connection, and then Several Data Adapters. Is this the best way to do it? i.e have a seperate DataBase Connection on each form, or should I have one Public one? Thanks MCN ...more >>

AIM
Posted by Richard Grene at 5/24/2004 3:40:42 PM
I am using vb.net. How can I create a link on my WEB page to call AIM and pass the screen name in a variable to the HTML Code below? Thanks, Richard <!-- Begin AIM Remote --> <a href="aim:goim?ScreenName = variable passed from vb code> ...more >>

TabControl
Posted by VJ at 5/24/2004 3:37:31 PM
I need to have a Tab Control with 4 tab pages. Each tab pages should have a certain list and list view controls. What these list view controls show depend on the tabpage. Do I have to create the control in each tabpage? Also, I will be allowing the application user to add thier own tab pages, wh...more >>

Validating input on a screen?
Posted by MadCrazyNewbie at 5/24/2004 3:17:26 PM
Hey Group, If I have for Example 3 Testboxs (txtb1, txtb2, txtb3) on my Form and 2 ComboBox`s (cbob1, cbob2) - All these are bound to a dataset, which new feilds can be added to or modifyed from. How can i get it so when I click on update, it checks to see if All the textboxs and combos hav...more >>

Creating Tif files on the fly for faxing
Posted by Bob Day at 5/24/2004 3:10:53 PM
Using VS 2003... Is there a way to create a tif file on the fly to be faxed? I need a simply cover page (simple logo, to/from, etc.) and am currently doing it in text only, but that doesn't look that great. I figure with tif I could add a graphic, etc. A static pre-made tif file won't work,...more >>

Insert data into a PDF?
Posted by Andrew at 5/24/2004 3:08:37 PM
Hey all, This is *not* another "how do I create a PDF" question, but rather how to put data into a pdf. A while back I found this link over on 15Seconds.com (http://www.15seconds.com/Issue/990902.htm) that shows how to take data from a webpage form and stuff it into a pdf file by using an...more >>

Solution Properties
Posted by VJ at 5/24/2004 3:01:23 PM
I have a VS.NET2003 Project1 under Solution1, for this the Option Strict is off. It is a huge project and would be impossible to make sure it meets the Option Strict on conditions. We are developing a new project/sloution in which Option Strict is On.. Do I have to everytime open each solution...more >>

Sorry i know i`ve asked this before
Posted by MadCrazyNewbie at 5/24/2004 2:57:01 PM
Hey Group, Hows ya all doing? Sorry i know i`ve asked this before but my HDD failed at the weekend and i`ve lot some of my notes:( I have a ComboBox bound to a database. How do I get it so when i load up my form my combo boxs are blank? I think it was something like CBOBOX1.TEXT = " ...more >>

How to add a new record into database......
Posted by KKuser at 5/24/2004 2:49:00 PM
Hello...... I know this might be a kind of "FAQ", but somehow I really can't find any clue...(including MSDN)... My code is as following... Dim drow As DataRow Dim ada As New SqlDataAdapter() Dim ads = New DataSet() Dim astrConn As String = "data source=(...more >>

Using appSettings
Posted by Bob at 5/24/2004 2:18:56 PM
Hello, I have a console app and would like it to pick up some settings from the application config file.... Can anybody give me the basic rundown on the simplest way to achieve this... the MSDN stuff for this is really quite vague and does not seem to work when I do it the MS way in my code...more >>

Process StandardOutput and StandardError on seperate threads.
Posted by mwazir at 5/24/2004 2:07:08 PM
Hi all, I have reposted this question from dotnet.general as I have been advised that this is a more appropriate forum for this question. Apologies for the repost. I have a process thats starts in my application and only terminates when my application is terminated. I want to write the outp...more >>

DataAdapter posts "0.0" to DB when Param contains System.DbNull
Posted by Tom Luetz II at 5/24/2004 1:21:50 PM
I'm having some trouble with the DataAdapter in my code. When the parameter in an OleDbCommand, which is created as having a type of OleDbType.Decimal, is set to System.DbNull, the actual value posted to the database upon execution of the Insert command is a floating point value of zero (0.0, ac...more >>

[OT] Charting components...
Posted by Tom Shelton at 5/24/2004 1:16:28 PM
Hey group, Need a quick opinion... I've been using ChartFX Lite in an application, but I need a tad more functionality. I'm contemplating upgrading to the full ChartFX for .NET thingy. But, before I layout what amounts to some serious cash, I was wondering if anyone had experience with othe...more >>

Type 'TypeName' has no constructors
Posted by Marina at 5/24/2004 1:13:17 PM
Hi, if anyone can help on this, please! This is driving me crazy. I have a user control hierarchy several levels deep that derive for UserControl (windows). The class that is at the top level, has the following constructor (generated by VS.NET) Public Sub New() MyBase.New() ...more >>

Can you 'post' a web form from a stand-alone application.
Posted by KC at 5/24/2004 1:01:14 PM
I want to submit an HTTP request to a site but the site needs to think it's being POSTed from a form. How do I do that? -- -------- Ken Hunt 678-644-6036 ...more >>

Handle
Posted by Doug at 5/24/2004 12:41:06 PM
I am converting a project from VB6 to VB.Net. In vb6, I created a textbox array on the form, and depending on the table querying, I would load new textbox's based on the fields in the table. I would store the index in a user defined type fldInfo array that also stored the field name. Then, when t...more >>

Disabling right click on web browser control
Posted by Robert at 5/24/2004 12:13:58 PM
Can I programmatically disable the right click context menu? ...more >>

MDIParent - Menu enable & disable
Posted by DNK at 5/24/2004 11:18:44 AM
I have an MDIParent and a menu item "Show Status". By clicking on it, 'Show Status' Child Window has to be opened & Menu has to be disabled. by closing the Child menu has to be enabled. How to achieve this. Thanks dnk. ...more >>

Convert character reference to unicode/utf-8
Posted by Daniel Köster at 5/24/2004 11:14:26 AM
Hi, Is there someone who has got som tips on how to convert text encoded with character referense to unicode or uft-8 format using VB.net. Is there a function or something that can help with the conversion? To use a simple replace "this" with "that" is not an option since there are som asia...more >>

Collection property
Posted by Roman at 5/24/2004 10:59:46 AM
Hi everybody! I am trying to create a custom component with collection property similar to Listview ColumnHeader. When edited in collection editor it needs to have several elements(properties) on the right pane per each element(property) on the left. How can this be done? Thanks in advance ...more >>

Access db problem from .NET
Posted by Lars Netzel at 5/24/2004 10:55:10 AM
I have a small application that will copy two tables from one access databas to another, the tables are present in the destination database and I only copy the data over. So there is no created on the databases. I do this by filling a DataSet and then Copy() to another Dataset and Update() the d...more >>

Installation and multiple profiles
Posted by Eric Fleet at 5/24/2004 10:46:11 AM
I have an installation issue. For reasons that are beyond my control, folks log into their PC with administrative rights (don't ask). I want to 1) Install a program that will run for whatever user might log into that PC, 2) The program has a front end "updater" that looks for updates to the software...more >>

Running App from Share
Posted by Derek Martin at 5/24/2004 9:55:25 AM
Good morning everyone! I have FINALLY finished my crazy go nuts 80,000 line custom built app and am getting ready to do some testing and have already run into a little problem. The app needs to be run from a share, not locally and when attempting to do that, I get this neat message: System.Sec...more >>

System caption (again)
Posted by Wally at 5/24/2004 9:35:24 AM
Hi all. I need to retrieve caption of system buttons. For example: in italian o.s. Cancel button is "Annulla", in english o.s. it is "Cancel" and so on. I need to install my application on different operative systems. Is there an API or another way to retrieve those system caption? Thanks. ...more >>

System caption
Posted by Wally at 5/24/2004 9:33:53 AM
Hi all. I need to retrieve caption of system buttons. For example: in italian o.s. Cancel button is "Annulla", in english o.s. it is "Cancel" and so on. I need to install my application on different operative systems. Is there an API or another way to retrieve those system caption? Thanks. ...more >>

When Windows Scroll event is triggered
Posted by amirali000 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 5/24/2004 9:00:47 AM
Dear All, How can I come to know that Form's scroll' position is changed (eigther by code or user interaction). Amir Ali. Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ...more >>

multifield table relationships
Posted by pmcguire at 5/24/2004 8:46:04 AM
Is it possible to establish, say, a two-field relationship between 2 tables in which 1 of the fields in the child table is a foreign key present in the parent table, but the other would be provided programmatically at run time The situation is this: I have a table which contains detail informatio...more >>

Custom Collection
Posted by Mythran at 5/24/2004 8:35:25 AM
I'm trying to create a custom collection for educational purposes only for now. I want to implement the IEnumerable interface but don't know what I'm doing with it. How to I create/get/return the expected value for the implemented GetEnumerator() function? I know the value expected is an IEnu...more >>

Datediff
Posted by JoskeXP at 5/24/2004 7:41:01 AM
Hi When I use datediff, the Year I get back is not correct .At msdn I found the problem.(From 31/12/2003 to 1/1/2004 I get 1Year butt this is not correct. Where can I find a function that give's me the exact Year ( for 31/12/2003 to 1/1/2004 this is 0 Year Thx JoskeXP...more >>

Retreiving an embedded resource (bitmap) from a DLL
Posted by Julia Beresford at 5/24/2004 4:21:02 AM
Hi Al You can add a Bitmap to a VB class library and set it’s build action to embedded resource. How do you then get that image (i.e. load it into a PictureBox control) from another vb application knowing only the name of the DLL and of the Bitmap Many thanks for any help with this Julia Be...more >>

check if there is an existing connection on an MDB file
Posted by ed at 5/24/2004 1:41:03 AM
Hi, how do i check in vb.net if other applications is already connected to an access database (.mdb file)? Let's say I have an application that opens an mdb file, for example - test.mdb. Then I opened another instance of the same application and it will also connect to the same mdb file, in this cas...more >>

Webbrowser page displayed only once
Posted by Olivier/Noetika at 5/24/2004 1:41:02 AM
Hi, Inside my application, I have a form that is composed with a listview and a webbrowser. The webbrowser display the focused url contained in the list view. The problem is that this works the first time, that's to say when I call the form just after launching the application, but if I hide the ...more >>

check existing connections to a .MDB file
Posted by ed at 5/24/2004 1:01:04 AM
Hi, how do i check if other applications is already connected to an access database (.mdb file)? Let's say I have an application that opens an mdb file, for example - test.mdb. Then I opened another instance of the same application and it will also connect to the same mdb file, in this case - test.m...more >>

individual cell hight in datagrid
Posted by guffe at 5/24/2004 12:31:03 AM
I'm trying to display data in a datagrid. The rows are hours of the day and the coloums are days of the week. I need individual cell hight to display that a task takes more than one hour. How can it be done ;-)) Guffe...more >>


DevelopmentNow Blog