all groups > vb.net > may 2004 > threads for monday may 17
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
Create a DB from VB code????
Posted by John T. Howard at 5/17/2004 11:52:16 PM
Can you issue commands from VB.Net to create and delete databases?
I would like to create, delete, and copy MSAccess tables and/or
databases from code. Can this be done? Can you show, or point me to
some source code? I'm a newbie.
TIA
John
... more >>
How to add properties in class?
Posted by Ashish Patel at 5/17/2004 11:26:01 PM
hi friends
I have create one class in VB.Net, named as TestCtrl.V
Now, i want to add some properties in that class. In VB, there is add-in component (Class Builder Utility) by which we can add properties in class
But in dotnet how to add properties. Is there any add-in components available or ... more >>
Licences for Clients using foxprotables to update SQL server 2000 tables
Posted by Sarah at 5/17/2004 10:41:02 PM
Hi
My tables are in vfp8 and I need to transfer data from the foxpro tables to SQL server 2000. Should I have to buy SQL Client access licences in order to fetch data from foxPro tables to SQL server tables
Please advise
Thanks.... more >>
Post to a Form from VB.NET?
Posted by Smoke at 5/17/2004 10:01:56 PM
Does anyone has any example on how to make a POST Form to a page using VB.net (not asp.net) ?
Thanks...
... more >>
Resizing Controls Design Environment
Posted by Gordon at 5/17/2004 9:52:34 PM
Something strange going on at my place. The ability to move controls or
resize them using CTRL,ALT,SHIFT etc does not work any longer. Anyone else
seen this? Do I have to re-install VB?(NOOOOOOOOOOOOO)
Thanks
Gordon
... more >>
net send question
Posted by Joseph Schwartz at 5/17/2004 9:51:40 PM
I have made a test VB6 app as folows:
Private Sub Command1_Click()
Dim ip As String
Dim msg As String
ip = "Gateway"
msg = "hey how are you"
Shell ("net send" & ip & " " & msg)
End Sub
The problem is when I run this I see a little dos icon flash by but no
message is received.
On the ... more >>
Performance counter
Posted by socal at 5/17/2004 9:41:49 PM
I've added the performance counter object to my app... Within the class
there's the PerformanceCounter.CategoryName property that allows you to set
what category you want to monitor. For instance, CategoryName =
"Processor". At design time, you get a drop down list of available
categories.... more >>
regexp needed: HTML to safe XML
Posted by Craig Buchanan at 5/17/2004 9:22:31 PM
I need a regular expression to convert reserved XML characters in an HTML
stream to their safe XML equivalent. Can it be done w/ one expression?
Here's the list:
" = "
' = '
< = <
> = >
= = &eq;
& = &
Thanks,
Craig
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using Select Case in Constructor of a Class
Posted by Paul Bromley at 5/17/2004 8:02:11 PM
I have just started to use Classes a lot in my code. Often I find that I
need to use the same contstructor, but wish to invoke a different action
depending on where I am clling the class from. I hav therefors started
sending an extra parameter to initialise the Class that I tend to call
sArea. I... more >>
Problem with hosting forms within forms
Posted by Lloyd Sheen at 5/17/2004 7:51:44 PM
I have the following situation:
Need a user resizable user control. After much trying with user control I
came across the idea of hosting the controls in a form marked as not
TopLevel = false. This work fine for most cases, allowing the user to
resize the form (and controls within the form.
... more >>
XMLTextReader Problem
Posted by Paul Bromley at 5/17/2004 7:40:11 PM
I thought that XMLTextReader would be simple to use, but I have run into
problems with it! I seem to have great difficulty extrcting the text of
specific elements from a very simple XML file.
I have a very simple XML file that I wish to parse using Xmltextreader, but
I seem to be having a lot ... more >>
Webservice with asp
Posted by John at 5/17/2004 7:35:43 PM
Hi
I have an asp site with ms access backend, running in a shared hosting
scenario. The shared hosting server also supports asp.net. Is it possible to
run an asp.net web service to access the site db along with the existing asp
site code?
Thanks
Regards
... more >>
excel file export to SQL server
Posted by sanju at 5/17/2004 6:54:13 PM
hi guyz .. can anyone have an idea to export a excel file into sql server
table using web interface .
please give me an idea on this
thank u very much
san
auck
... more >>
Web service - how to?
Posted by John at 5/17/2004 6:19:05 PM
Hi
I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?
Thanks
Regards
... more >>
var in address bar
Posted by Frank at 5/17/2004 6:18:52 PM
Hi,
I'm experimenting with VB.NET. And I want to access the variable in the
address bar and can't find a short answer on the internet. It concerns a
line like:
www.site.com?somevar=somecontent
How do I get the value of somevar?
Yes, I know I can use sessionvars but I already know how that work... more >>
App update via web
Posted by John at 5/17/2004 5:40:33 PM
Hi
I would like for users to be able to update my app via web, possibly using
an Update option on the menu somewhere. Is there some info available on how
to allow users to be able to do that? I would ideally like to upload my
updates to a web/ftp site from time to time, for all users to update... more >>
How do I obtain a reference to an object using the ID?
Posted by hellrazor at 5/17/2004 5:28:09 PM
In Javascript I can use document.getElementById("elementID") to access the
object.
Is there an equivalent in VB.NET / ASP.NET ?
Thanks in advance... more >>
Problem with hosted form within form
Posted by Lloyd Sheen at 5/17/2004 5:12:13 PM
I have the following situation:
Need a user resizable user control. After much trying with user control I
came across the idea of hosting the controls in a form marked as not
TopLevel = false. This work fine for most cases, allowing the user to
resize the form (and controls within the form.
... more >>
Image Animation
Posted by Peter at 5/17/2004 4:46:04 PM
I have a picturebox on a form. I have set its image property to an animated GIF at design time. The image animates during design time and when the application is running. However, when I dispose of the form object, an ImageAnimator thread from System.Drawing.ImageAnimator.ThreadProcImpl remains. ... more >>
Passing Control Values between forms using VB.NET
Posted by Wayne Taylor at 5/17/2004 4:45:17 PM
Hello all.....
I'm having a hard time understanding how to read/write to the contents =
of controls on diffient forms.
If I create a Windows Form project with two forms..... add a text box to =
each...now I add the following code to form1.....
Public Class Form1
Inherits System.Windows... more >>
Multithreading Best Practices
Posted by Federico Babelis at 5/17/2004 4:17:44 PM
Hi,
I'need information and examples on Multithreading programming in VB.NET.
Please send information to federico@gazum.com
Thanks and Regards,
Federico
... more >>
Error : Complex DataBinding accepts as a data source either an IList or an IListSource
Posted by BS at 5/17/2004 3:55:21 PM
Hello everybody
I'm calling a webservice that returns complex data.
The goal is to populate a datagrid with it.
Using a loop for each record found ( such as For i = 0 To
oResponse.historicalData.Length - 1 )
no problem to load a datagrid.
However, when I try to bind directly the datasour... more >>
New windows service gives me: "the service name is invalid" WHY??
Posted by acool at 5/17/2004 3:53:44 PM
I just created a simple Windows Service in VB.NET. I right clicked on the
component and added the installer, installed via InstallUtil.exe all went
well until i try to do a net start and then I get:
"the service name is invalid" WHY??
... more >>
speed diffrencets CType and directcast
Posted by Brian Henry at 5/17/2004 3:24:13 PM
is there any speed diffrences between doing Ctype or directcast? I know
about the inherite diffrences, but process usage time wise, does one take up
more cycles then the other? thanks
... more >>
Text Files
Posted by Mike Johnson at 5/17/2004 3:20:41 PM
Anyone know where I can find some good examples on how to access a text
file.
... more >>
Help file for a DLL
Posted by Steve at 5/17/2004 3:06:05 PM
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp
My expectation is that a developer using my DLL would be able to access this help file during his development time using "F1" help within the VB IDE. Is this expectation achievable
In trying to test my help file in... more >>
Using VB.NET to write a simple FTP app.. Is it possible?
Posted by Tim Smallwood at 5/17/2004 3:02:18 PM
I have a program I'm wanting to write that will open an accounting
program, do a back up (This functionality is buiilt into this accounting
program) and then take the backup file that is a result of the back and
FTP it to a web directory.. I'm wondering if all of this is possible in
VB? I know... more >>
TabControl1.TabPages(2).Enabled = false doesn't work either?
Posted by Will Freeman at 5/17/2004 2:52:19 PM
Hello all,
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work.
I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possi... more >>
MSIL
Posted by Aaron at 5/17/2004 2:00:35 PM
I know when you compile a .NET app c# or vb the code is converted to MSIL. I
was just wondering is it 100% reversible? If so, does that mean someone can
steal all your source code just by decopiling the dll or exe?
Aaron
... more >>
COM References
Posted by SQL at 5/17/2004 1:57:56 PM
Hi,
If I create a reference to a COM object in my .net project. When I copy the
app to a client workstation, where do I place this dll? And do I have to
register it?
Thanks,
... more >>
common practice for multiple object types in an arraylist?
Posted by Tarren at 5/17/2004 1:54:59 PM
Hi:
I am writing a public function as part of a class and wanted to inquire as
to what is common practice to the following scenario.
I have a class called CARDEALERSHIP
i have two classes USEDCAR and NEWCAR both of which inherit CAR class
For the dealership, I have a property called INV... more >>
OOP Starting Question
Posted by Ivan Weiss at 5/17/2004 1:34:32 PM
I have posted a similar question before but now want to officially begin
a new project correctly using OOP. I have created two classes, Customer
and Customers. I want Customers to have some form of a
variable/array/collection/etc. that contains as many customer objects as
I need to be using at... more >>
Merged menus (enable/disable them)
Posted by Brian Henry at 5/17/2004 1:31:38 PM
I have a form with a main menu on it (mdi parent form) and i have a child
form with a menu and I am mergeing the menus together for the menu called
reports.. now when i do this they merge just fine.. but i need to disable
the menu when the user logs out of the system or clear it so they cant run
... more >>
How to protect a dll
Posted by peter NO[at]SPAM mclinn.com at 5/17/2004 1:11:09 PM
I wrote a dll and now I want to protect from mass distribution. What
is the most COST software for doing this, or can it easily be done in
vb.net.... more >>
Windows Form Questions..
Posted by Tim Smallwood at 5/17/2004 1:01:33 PM
Hello.. I thought I posted this, but alas I think I may have posted in
the wrong news group.. YIKES! Anyway, please forgive me if I posted this
previously as I'm a little new to this using Developers Dex..
Ok. I want to know how to open forms, load them in memory and hide them,
etc.. My mai... more >>
Progress monitor for ASP.Net?
Posted by Geoff Pennington at 5/17/2004 12:42:45 PM
My manager has asked me to do something that I don't think is possible with
a web browser interface. He is sure it IS possible. If he is right, can you
tell me how to do it?
The user submits a form asking when an event can be scheduled. The web
server runs through the database to find an avail... more >>
News protocol (RFC 977) implementation problem
Posted by ProJee at 5/17/2004 12:29:47 PM
Hi,
I've got the following problems while trying to finish my NewsReader class:
#1
There's a NEWNEWS command in the RFC specs, which should retrieve the
list of articles posted after the specified date.
this command doesn't work with msnews.microsoft.com:119 :(
(Returns "Access denied")
... more >>
Changing Label text property on another form, post #2
Posted by Mike Johnson at 5/17/2004 11:59:10 AM
Thanks for the quick responses. I'm having trouble understanding. I've
included the code I using. perhaps someone can tell me what I'm doing wrong.
My original question was,
I'm new to VB.Net and programming. I just bought VB.Net Standard I'm working
on a small program for work. I've created t... more >>
How to show, load a form in VB.NET?
Posted by Tim Smallwood at 5/17/2004 11:48:37 AM
Hi,
This is probably a stupid question, but I can't seem to get a form to
show / load? In the older versions of VB I'd use frmMyform.show / load
myForm, etc? I looked at the help file and it showed me how to create a
new form in code and then load it, but I want to load a form when a user
cl... more >>
Adding Form2
Posted by Rob at 5/17/2004 11:32:18 AM
I want to add a second Windows Form to my app, but do not
know how to implement communication between the 2 Forms.
I want to be able to open and close Form2 from a button on
Form1 and need to know if Form2 is open or closed. Also,
I would like to open and close Form2 without causing logic
confl... more >>
.NET rebar control
Posted by Brian Henry at 5/17/2004 11:29:24 AM
is there any .NET equlvilent of the rebar control in windows? thanks
... more >>
Remote Folder
Posted by Daniel E. Ulfe at 5/17/2004 11:25:09 AM
Hi,
I have a small problem... I have an application that copy files from one
computer to another (very simple), but... when I try to check a folder in
the remote computer using:
System.IO.Directory.Exists("\\remote\drive\folder\")
If the local computer tried to get to this folder using Wi... more >>
MessageBox & Crystal Printing
Posted by MadCrazyNewbie at 5/17/2004 11:10:59 AM
Hey Group,
Hope you all well? Wonder if somebody could possibly help me?
At the Mo I use the following code to Print a Crystal Report:
rptForm.Text = "Excellence.Net - Fax`s" 'Set the form's titlebar
rptForm.CRVReportPrint.ReportSource = New Faxs() 'Tell the viewer which
report to... more >>
Maximizing a MDI child form programmatically
Posted by Simon Jefferies at 5/17/2004 11:07:41 AM
How do I get a MDI child form to maximize itself inside the MDI parent form
when it loads?
TIA
Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:simonj@headfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
... more >>
Request for Assistance
Posted by Derek Martin at 5/17/2004 10:27:42 AM
Hi there, I have a program that I am trying to deploy that checks a DB for
messages to a client every 15 seconds or so. If it finds one, it does some
stuff, then updates it in the DB as 'ACK.' I can't make it work for the
life of me and was wondering if someone would be so kind as to take a pea... more >>
Create microsoft Publisher document
Posted by Brent Burkart at 5/17/2004 10:02:26 AM
I want to programatically create a Microsoft Publisher document using .NET.
Has anyone tried this or seen any tutorials?
Any help is appreciated.
Thanks,
Brent
... more >>
Changing Label text property on another form
Posted by Mike Johnson at 5/17/2004 9:50:05 AM
I'm new to VB.Net and programming. I just brought VB.Net Standard I'm
working on a small program for work. I've created two forms the first is
named Forms1 and the second is named SettingsForm on forms1 I've placed two
components a NotifyIcon and FileSystemWatcher. I created a event handler
call... more >>
Global Assembly Cache
Posted by John Jefferson at 5/17/2004 9:36:05 AM
I was told to use the GAC to deploy networked applications that use the same dlls. So, I created the "cryptographic key pair" in a networked location. I know I need to add the following line to the assemblyInfo.vb file
<Assembly: AssemblyKeyFile("NetworkLocationPath")
I also figured out how to a... more >>
ComboBox Question
Posted by Jorge at 5/17/2004 9:32:47 AM
Hello
I have an unbounded combo on a form and its filled during
load. I use ComboBox1_TextChanged event to update a
datagrid. My problem is that sometimes the focus jumps to
the combobox1 when i use the scoll buton of the mouse,
causing the datagrid updating before i finish editing the
va... more >>
Windows Services
Posted by Eric at 5/17/2004 7:51:07 AM
Hi
I built a service that watch file in a directory. I use a simple filewatcher and add a handler to do something when a file is created. I have the following problem. I can build it, I can install it, I can start it but when I start it I have a message that the service is stop because it does not... more >>
Tripple DES Encrypt/Decrypt string Function or Example
Posted by peter NO[at]SPAM mclinn.com at 5/17/2004 7:25:58 AM
Has anyone made a simple tripple des encryption function?
I'm looking for a function to pass a string into with a password and
generate an encrypted output. That's it.
IE. Public Function EncryptMe (StringtoEncrypt, Password)as string
End Function
Public Function DecryptMe (StringtoDecr... more >>
Run program without framework
Posted by yxq at 5/17/2004 6:18:25 AM
Hello everyone
I ever found a website that provide the technology of running program
without installing framework, but now i forgot the URL, does everyone know
the technology and the website?
Thank you
... more >>
TreeView bound to database
Posted by vsiat at 5/17/2004 5:40:44 AM
I am trying to create a treeview out of a database table
with the typical structure ID, NAME, PARENTID, TYPE,
EXTRA_INFO, where [parentid] is linked to the [id].
What I want to achieve is create a tree made of custom,
extended nodes, which include all the extra information
contained in th... more >>
What is this error about? Hope I'm posting at the right place..
Posted by Tim at 5/17/2004 4:17:08 AM
Hi, I'm kinda new to Dot Net in general and I'm trying to see if I can
get some Connection stuff in a mesage box.. Well, I tried this code and
I get an error that says " Type SQL Connection is not Defined" .. I have
the System.Data reference in solution explorer, but I'm not sure what
refere... more >>
VB.NET 2003 free from MS (!)
Posted by Jeremy at 5/17/2004 4:05:12 AM
Just thought I would post this for students, or other developers that may
not have the fundage for a full copy of VS.NET. Microsoft is giving away
copies of VB.NET 2003 Standard when you watch and rate five of their cheesy
..NET movies:
http://msdn.microsoft.com/vbasic/atthemovies/controls/def... more >>
Order result sql
Posted by Silvia at 5/17/2004 2:01:06 AM
Hi,
I have to do a select in one table, and i have to order the result by one column, what's the better object to use dataset, datatable???
Thanks
Silvia... more >>
Can Column Title and Data Align Differently?
Posted by Li Pang at 5/17/2004 1:36:01 AM
I want to align column title "CENTER" but to align the data "RIGHT". Is anyone knows that
Thanks in advance... more >>
List in collectionbase
Posted by Majed at 5/17/2004 12:56:19 AM
hi all
i've created a strong named collection which inherits collection base,but
when i try to add to it a nullreferenceexception blows.
the code is as listed below. do i have to init the list myself.
any hints...please!
thanks all
Public Class NewKeys
Inherits BaseCollection
Default P... more >>
|