all groups > vb.net > june 2004 > threads for monday june 21
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
Which device in PC has Unique ID in the World?
Posted by Mat at 6/21/2004 11:56:45 PM
-Network Card--> MAC address
Next?
... more >>
Can you tell me how to use "AND" here. It's really urgent. Thank You.
Posted by Miguel Dias Moura at 6/21/2004 10:25:56 PM
Hi,
i have this line code to hide a table if a database field value is empty:
<table runat="server" visible='<%# dataSetPerson.FieldValue("Book",
Container) <> "" %>' ...
What i want is to HIDE the table if any of these 3 conditions are true:
dataSetPerson.FieldValue("Book", Container) ... more >>
icon.save 16x16
Posted by Jo Franklin at 6/21/2004 7:44:01 PM
I am using icon.save to save icon files I've extracted using ExtractIconEx.
when I save the large icon everything is fine, but when I save the small
icon it looks distorted, and has a black (not transparent) background. Any
ideas why?
... more >>
Threding in vb.net (1.1)
Posted by Nupur Agarwal at 6/21/2004 7:44:01 PM
Hi ,
What i want to accomplish is to display the main form in my windows application and along with that i want to spurn a thread from my Sub Main that instantiates a dll and displays a form in the dll. And Process the popup form separately from my main form.
This is the gist of the code im ru... more >>
How to start a disabled service?
Posted by yxq at 6/21/2004 7:40:32 PM
Hello
I want to start a disabled service using VB.Net, i use the start propetry in
ServiceController class,
but it can not start a disabled service, how to do?
Many thanks
... more >>
Clipboard
Posted by user NO[at]SPAM domain.invalid at 6/21/2004 6:41:15 PM
For some reason this is not copying to the clipboard, can someone tell
be why?
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem2.Click
Clipboard.SetDataObject(Net.Dns.GetHostByName(Net.Dns.GetHostByName("localhost").HostName).Addres... more >>
how do I get the month of the carlendar comtrol when it's first loaded or month changed?
Posted by NotGiven at 6/21/2004 5:11:21 PM
I can get the month of the date selected but not when the claendar control
is first opened or when you go to the next or previous month.
I'm sure it's simple, thanks for any help!
... more >>
Simple Q re Deserialisation
Posted by John Dann at 6/21/2004 5:03:29 PM
I need to read a binary file (whose structure I know - at least in
generic terms) and just learning about how best to do it.
Looking at deserialisation this seems to be one direct approach. But
from what I've read thus far I'm unclear about whether a binary file
needs to have been created with... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
The Single Programmer
Posted by Wayne Taylor at 6/21/2004 4:24:32 PM
Hi All
I generally write code for the fun of it! I'm self taught, I would like some
guide lines to follow for a single programmer working on a single project at
a time, allot of what I have found is always aimed at a Team of
programmers.......
VB.NET/SQL/ASP.NET.... is what I play around... more >>
What is wrong with this line?
Posted by Miguel Dias Moura at 6/21/2004 3:19:35 PM
Hello,
i want to display the image "icon-yes.gif" if a certain condition is =
true or the image "icon-no.gif" if it's false.
I have this line:
<td><img runat=3D"server" src=3D'<%# "..image/" & =
IIF(dataSetPerson.FieldValue("Author", Container) =3D "Yes", =
"icon-yes.gif" "icon-no.gif" %>'... more >>
About Box
Posted by Jay Feldman at 6/21/2004 3:19:01 PM
I hate to bother you again, but being an upgrader from vb6 to this language, I am having some difficulty.
In my about box, I have a label (lblVersion) that displays the version number.
I tried this:
lblVersion.Text = "Version " & Environment.Version, but it caused an error. How should I do it p... more >>
Sql Server Database Status
Posted by William Oliveri at 6/21/2004 3:16:16 PM
Hi all,
I'm writing some code for disaster recovery. I need to have an application
which accesses Sql Server to determine if the local database is up or not
and then if not go to the secondary server.
So like this:
1. Determine if Sql Server A is up, if so is the database active.
2. If ... more >>
reading accounts out of LDAP
Posted by Brian Henry at 6/21/2004 3:14:27 PM
does anyone know how to get a listing of accounts in a LDAP directory in
VB.Net? thanks
... more >>
I need some advice
Posted by Samuel L Matzen at 6/21/2004 3:11:57 PM
I have an ENUM I need to use in multiple projects in a solution.
In the old days I would setup a header file containing the ENUM and
reference it in each project.
What is the best way to do this in the .NET multi-project solution?
Thanks for any input.
-Sam Matzen
... more >>
sending a message over the network
Posted by Paul Wilson at 6/21/2004 2:48:14 PM
Does anyone out there know how to send a message over to another user (PC)
in the network.
I just need to be able to send a message (no need of receiving any
messages).
A very simple sample of sending a message from one computer to another is
all i need.
Best Regards,
Paul
... more >>
DataSet in windows service
Posted by Sam Cole at 6/21/2004 2:41:02 PM
Ok here goes
I have three applications that all do pretty much the same thing. All of
them take data from WMI and log it into a database.
The first application is a Standard EXE and works fine
The second is a web application and that also works fine.
The third however is a windo... more >>
DataGrid RowFilter Syntax
Posted by Marty McFly at 6/21/2004 2:27:52 PM
Hi,
Is there a list of acceptable RowFilter syntax somewhere? Or is T-SQL
syntax generally accepted? (I couldn't find anything on MSDN.)
Many thanks,
Marty
... more >>
Getting IP of Client with TcpClient
Posted by kintwa NO[at]SPAM hotmail-dot-com.no-spam.invalid at 6/21/2004 2:03:43 PM
I am having trouble getting the ip of a clientusing TcpClient. I
haven't found any examples, can anyone help me? Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
... more >>
deploy
Posted by Frank at 6/21/2004 1:41:14 PM
Hello,
I need some pointing in the right direction.
I have a working application, a main form and several subforms and classes.
I want the subforms and classes put together in a package so that other
programmers can use it in their main forms.
Is the 'package' I'm looking for a component? Do yo... more >>
Once again, something simple isn't
Posted by Ed Staffin at 6/21/2004 1:35:44 PM
Ok, so I create a new form, click on the server explorer,
drag a table onto the form. A connection and a dataadapter
are created. I then generate a dataset. I do nothing else
but try to compile and I get an error
that "Type 'MyForm.MyDataset' is not defined."
What am I doing wrong?
Thank... more >>
Is it possible to assign dynamic variables?
Posted by Shelby at 6/21/2004 1:31:55 PM
Hi,
if I have :
rs.Fields("firstname").Value = "John"
rs.Fields("middlename").Value = "D"
rs.Fields("lastname").Value = "Paul"
Is it possible to Dim the column name and make it a variable and reassign
the value to this new variable? Because I have a long list of the above, and
I... more >>
Owner Information with Option Strict On
Posted by Jeff at 6/21/2004 1:24:24 PM
I'm trying to use the code posted in various forums to get the Owner Name on
a Pocket PC device, and I'm having a bit of trouble. Please help.
(I'm using VB.NET with Option Strict On.)
My code is:
I have a form with a button. The button click event has the following two
lines:
Dim test A... more >>
Change text
Posted by ruca at 6/21/2004 1:04:05 PM
Hi gurus,
I have a datagrid with a linkbutton to see details of a specified item of
the grid. What I want to do is to change the caption of this button to the
first 10 caracteres of the field present in my Database. This field is a
description field. Then when I click in one of the button the ... more >>
overlaying a datagrid on an image
Posted by billy_cormic NO[at]SPAM hotmail.com at 6/21/2004 12:49:41 PM
Hello,
I would like to overlay a datgrid on an image. I am having trouble
doing this. .Net won't let me place the datagrid ontop of the image.
Does anyone have any suggestions about how to go about doing this?
Thanks,
Billy... more >>
override event
Posted by Xavier Valdés at 6/21/2004 12:41:13 PM
Hi all,
I'm making a class that inherist from listview one. The problem is I do not
want mybase's doubleclick
to fire but my class to handle this event. Is this possible? How? thanks a
lot,
Xavi
... more >>
programming a pocket pc mp3 player or voice memo recorder
Posted by usenet_daughter NO[at]SPAM yahoo.com at 6/21/2004 12:31:58 PM
i'm interested in programming an application for pocket pc that has
integrated mp3 player & voice recorder features.
has anyone done anything similar, such as integrate windows media player
into their app, or make a simple voice memo recorder?
any links to info on programming such an app,... more >>
DataGrid Nested
Posted by ::P:e:s:c:e:::M:a:r:c:o:: at 6/21/2004 12:16:08 PM
hi to all
there is a way to show the rows of data grid nested only when they have a
group of child, while the rows withiot child must not bu nested ?
At moment i create a relation on dataset that give back all rows nested.
--
Ciao
::M:a:r:c:o:::P:e:s:c:e::
itrustNOSPAMofyou@hotmail... more >>
Getting Named Color Names and values????
Posted by SStory at 6/21/2004 12:12:26 PM
How can I get value pairs of named colors and the color they represent?
I want to easily get these colornames and then their associated color values
into a file so I can add to the list and offer this list in an owner drawn
listbox for the user to choose colors.
thanks,
Shane
... more >>
ASCII file without crlf's
Posted by netproject_2004 NO[at]SPAM yahoo.com at 6/21/2004 12:02:06 PM
Hello. I am working with very large files in my .NET project (1
million plus records). Some of these files do not have crlf's, which
makes it very hard to read the file without a layout or record length.
In my application, I would like to open one of these text files and
check to see if it co... more >>
Multithreading Question
Posted by Rich at 6/21/2004 11:55:32 AM
Hello,
I have set up a multithreading routine in a Test VB.net
proj, and it appears to be working OK in debug mode and I
am not using synchronization. Multithreading is a new
thing for me, and I just wanted to ask if I am missing
anything based on the following scenario.
My test app p... more >>
compile error after defining custom attribute
Posted by Harry F. Harrison at 6/21/2004 11:11:05 AM
I get 2 compile errors on assembly attributes after creating a custom
attribute. If I comment out the attribute, the errors go away. I don't get
it because my attribute specifies class usage, not assembly usage.
Assembly attribute 'System.Runtime.InteropServices.GuidAttribute' is not
valid... more >>
Selecting Controls Revisited
Posted by JLW at 6/21/2004 10:55:50 AM
I've tried everyone's suggestion, and the only way it works is if I click
out of the app windows, then back in. WTF is going on with that?
JLW
... more >>
Text editting in Vb.net, help.
Posted by Joshua Nunn at 6/21/2004 10:25:58 AM
I am reading in a text file of about 25 megs, using a streamreader
class. Now this text file was generated using a DataBUS programming
language, now known as PL/B, and being used as a database, that just
happens to be a flat text file. What I need to be able to do is to read
in a line fr... more >>
Invalid ActiveX State Exception
Posted by Evan Delodder at 6/21/2004 10:07:01 AM
I am trying to edit form elements (labels, text box's, etc) in Visual Studio.NET using VB.NET. Whenever I edit certain forms’ appearance whether it is through the code, or through the designer, I receive this (Invalid ActiveX State Exception) error message at runtime whenever the form is called. I... more >>
Encrypting filename with file
Posted by dick at 6/21/2004 10:05:42 AM
Hello,
I want to encrypt a file with its filename.
I can encrypt the file itself using the frame libraries.
How can I now best hide the filename and extension?
Within the file, ... ?
I must be able to retrieve the filename after decrypting.
The original files have random filenames and ex... more >>
mdi and child forms - view tabcontrol in child form
Posted by andreas at 6/21/2004 10:05:14 AM
Hi,
I have a parent FormA and two different child forms.
In one childform there is a tabcontrol with textboxen and i want to fill
these textboxen in this active childform with a statement in the other child
With the statement in the other child i open the first child
frmA.mnuNew.PerformClic... more >>
datagrid Add
Posted by Randy Fraser at 6/21/2004 9:45:04 AM
Hi All
I am trying to (with a button click) add a new row to a datagrid and then
set focus on the first column of the new row. I have waisted almost a day
on this now and still can't get it to work. Any help would be greatly
appreciated.
Here is some code
Private Sub btnAdd_Click(ByVal... more >>
Connection string for OleDB for Oracle
Posted by feng at 6/21/2004 8:52:08 AM
I need a connection string to use for OleDb for
Oracle .Net provider (NOT through ODBC!). Can someone
point me to some doc or give me some examples?
Thanks... more >>
Why is minus one (-1) equal to true in VB again?
Posted by kaboom NO[at]SPAM mailinator.com at 6/21/2004 8:49:15 AM
I coulda sworn I was given an explanation during an AppDev class years
ago for VB6, but don't recall the answer. Why is it that -1 is True
in Visual Basic (and now VB.NET)? Bit flags seem like they should
always be 0 or 1 to me... (not that I haven't used VB long enough by
now to know better).... more >>
Adding Row and Column to the same table at the same time.
Posted by Larry Bird at 6/21/2004 8:38:50 AM
I have a datatable that was created within a dataset. I dynamically add columns to the table as I add data. Previously added rows probably did not have data for the column that is being added. Since I’m added rows and maybe columns at the same time, what is column content for rows that have bee... more >>
Delete File after User download
Posted by ntuyen01 NO[at]SPAM yahoo.com at 6/21/2004 7:51:50 AM
Hi all,
How can I delete the file on the server after the user download it?
For example:
I have file name "123.txt" on a server, I copy it to "ABC.txt", then
allow uer download the "ABC.txt" file, then I try to delete file
"ABC.txt", but I can not do it. I can delete the ABC.txt before I ... more >>
Executing Access Query
Posted by Art at 6/21/2004 7:18:02 AM
Hi,
Can anyone point me to an example of how I would execute a query I've created in an Access DB. I've copied the SQL down to my VB.net application and that works fine, but it's ugly. I'd like to direcly execute the query that I created in Access - if possible.
Also, I would like to be ab... more >>
Add ComboBox Control to Datagrid
Posted by Byron O'Neal at 6/21/2004 6:49:43 AM
I see MSKB Q323167 referenced a lot in the subject. It appears the article
no longer exists. Has another article replaced it? Where can I find any
info?
Thanks
Byron
... more >>
CreateProcess problems in vb.NET (only experts need apply ;-)
Posted by Paul Schenk at 6/21/2004 6:38:44 AM
Hi All :)
Would be grateful of advice please. I have code in VB6
working as follows:
lngReply = CreateProcess(sNull, txtStart, ByVal 0&,
ByVal 0&, 1&, _
NORMAL_PRIORITY_CLASS, ByVal 0&, sNull, sInfo,
pInfo)
but alas, the 'equivelant' vb.Net code translated as:
l... more >>
trouble converting code from vb to vb.net
Posted by isaac rainsford at 6/21/2004 6:24:13 AM
i have some code that works fine in vb6, but when i paste it into vb.net
2003, i get errors thrown...
can anyone tell me a good port of call for help converting this code???
i am assuming thing like changing my LONGs to INT32's or INT64's will be
required, etc.
thanks in advance !... more >>
UnZip method
Posted by Bob Achgill at 6/21/2004 6:23:34 AM
I want to let the users of my Windows form press a button
to download (from the Internet) and unpack a revised form
and supporting data files.
It looks like myWebClient.DownloadFile under class
system.net is a easy way to get the zip file to the
client.
But how can I unzip the file?
... more >>
stop showing the repainting of a form
Posted by Geraldine Hobley at 6/21/2004 6:18:01 AM
Hello,
In my application I am trying to load up some forms, however the loading of the forms is causing a lot of flickering. Are there any commands that can stop showing the repainting of the forms and thus make for a smoother running application.
mdiClient.DkManager.LoadConfigFromFil... more >>
Datagrid selection
Posted by nielsh NO[at]SPAM hollandridderkerk.nl at 6/21/2004 6:14:52 AM
Hi There,
I have a form with a datagrid, and some text/combo-boxes and a button.
When I select a record in the datagrid an press the button I want to
see the valeus of the cells from tehe selected record in the
text/combo-boxes.
At this point I only get the first record shown even when i se... more >>
Multiple Inheritance?
Posted by Joe Delphi at 6/21/2004 3:25:16 AM
Does VB.NET support multiple inheritance?
JD
... more >>
Linked tables in ms access asking for login/password
Posted by anandsaha NO[at]SPAM rediffmail.com at 6/21/2004 1:36:31 AM
Hi,
I have an Access 2000 database, which contains some native tables,
and some linked tables which belong to an ORACLE database, through
ODBC.
Using VB.NET, I am trying to fetch some data by joining two tables,
one table native to the mdb file, and another belonging to ORACLE.
I am usin... more >>
Send URL how?
Posted by Paul van der Heu at 6/21/2004 1:22:54 AM
The developer of an application I use just included a server which allows
me to load a track remotely. I have an application I am working on that
just might want to do that.
I need to send this
http://localhost/control/loadsong/1/F:audio\somesong.mp3
you get the idea right? I've been br... more >>
Panels: To Cor Ligthert or anybody that might help me with this.Thank You.
Posted by Miguel Dias Moura at 6/21/2004 12:48:01 AM
Hi Cor and everybody else,
i created a page with 5 panels and 5 buttons which control them acording to
Cor's help.
After this i used 5 image buttons instead of standard buttons.
When i run the page i don't get any error but at the same time i don't see
anything.
I am doing something wron... more >>
|