all groups > vb.net > february 2007 > threads for wednesday february 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
exit the form ?
Posted by Agnes at 2/21/2007 11:42:23 PM
My aim is "when user close the form , Close all the connection "
But .... there is no such method call "closed" in the form
I just test it that "when user click the "close form" button. The
connections still exist in the SQL server
I need to draw a "close button" and close the connection
an... more >>
Enlarge the screen
Posted by Agnes at 2/21/2007 11:38:48 PM
MY application is designed based on 800 X600 screen size.
However, some client use 1024 X768 , When they run the application, the form
become smaller.
I don't want to re-wrtie all the forms
How can I enlarge the form to fit the 1024 X768 ??
thanks a lot
... more >>
Altering interface
Posted by Thomas Schoch at 2/21/2007 10:49:44 PM
I have written an interface IAddin for addins for my application. Now
I have to add a new property to this addin.
What is the best way to do this? I don't want to rewrite or recompile
the existing addins because they are already installded on some client
machines.
My idea: Create a new interf... more >>
Handling List(Of T) Events in Custom Class
Posted by Bryan at 2/21/2007 9:57:37 PM
I am writing a class that has a list of strings as one of its
properties. I want to be able to run some code whenever that list of
strings is modified through the class property. Here is the
definition of the property 'JobSites'
Public Class SiteList
Private _JobSites As New List(Of Str... more >>
.NET EVents & Threading
Posted by Spam Catcher at 2/21/2007 9:18:16 PM
Hi all
When .NET fires and event, does the event handler execute under a new
thread, or does it execute under the primary application thread?
Basically if I have events firing, do the event handlers themselves need to
spawn need threads, or can I safely assume the event handler is alread... more >>
How to rename files with support wildcard ?
Posted by ABC at 2/21/2007 8:27:37 PM
How to rename files with support wildcard ?
... more >>
XML and Direct Pathing to a node
Posted by Mark Cooney at 2/21/2007 5:59:36 PM
Good afternoon, yes i am a newby so pls keep it simple.
Yesterday I started a small project where I have to make an API call and
receive back from that the long xml transcript down below.
Now, not knowing about XML I have experienced one or 2 issues.
Firstly, this is the code I have creat... more >>
Radio Buttons question
Posted by Vayse at 2/21/2007 4:49:36 PM
I have 4 radio buttons. I think I used to able to do in VB6 - assign a value
to each button. So I could do something like
Select Case <GroupRAdioButtons.Value>
Case 1
Run Sub1
Case 2
Run Sub2
How would I do this in Vb.net?
Thanks
Vayse
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to reconnect to a db automatically?
Posted by Robert Dufour at 2/21/2007 4:03:56 PM
My functions or subs that connect to my databases are always using the
following code pattern (Vs2003)
Private Mysub ()
Dim MyConn as new Odbc.connection
MyConn.ConnectionString = g_ODBCConnStr 'a global variable that was
tested at application launch to make sure it was valid and ... more >>
what might cause: "Thread was being aborted" exception
Posted by active at 2/21/2007 2:51:35 PM
When I run an app outside of the IDE I get the exception
Thread was being aborted
Does that error mean something to you?
Any idea what might be causing it?
++++++++++++++++
The messagebox contained:
To enable just-in-time (JIT) debugging, the .config file for this
application or c... more >>
Split large text file by number of lines?
Posted by ivan.perak NO[at]SPAM gmail.com at 2/21/2007 1:58:59 PM
Hello,
im a beginner in VB.NET... The thing i would like to do is as it
follows....
I have a text file (list of names, every name to the next line) which
is about 350000 lines long. I would like to split it and create a new
file at every lets say 20000 lines... so, the directory output woul... more >>
Convert C# to VB.Adding Eventhandler.
Posted by Jim Andersen at 2/21/2007 1:47:33 PM
I have this piece of code I am trying to convert from c# to vb.net.
It's a Windows project.
This line gives me trouble ( I have tried to compress the code for
readability. Hope I haven't screwed up):
m_CA.AnEvent += new U.U_EventHandler(evt);
I assume this is a c# way of adding an addition... more >>
Authentication with WorkGroup
Posted by ruca at 2/21/2007 12:59:54 PM
Hi,
How can I use authentication with Work Groups and not Domains. What is the
configuration (in Web.config and IIS) to work with this?
Basically I have a webapplication that use WindowsIdentity to login in my
clients. Recently one of this clients change server and will be working with... more >>
Why cannot inherit from public class that can be instantiated?
Posted by blisspikle at 2/21/2007 12:00:58 PM
Can any Public class be inherited from? I installed some software on
my pc and I can use it in my code, but I cannot seem to inherit from
it. It was an executable that installed on my pc, I do not understand
how that works, but I can use it. I put it in the references to use
it in my code.
... more >>
writing text to text files in vb. need help
Posted by johnabraham101 at 2/21/2007 11:22:10 AM
hello all,
I've already posted a thread with the same problem but
couldn't satisfactory answer. Let's come to the point.
I can write some text to a text file with WriteAllText method. How can I
start new lines? Example, c:\test.txt is a file, then:
"This text should... more >>
geting user group on domain
Posted by Andy at 2/21/2007 10:48:20 AM
hi
i'm making small app for my company in visual basic express...
we would like to setup usergroup on windows domain... and only users
that are in that group would be able to access aplication...
i would check on the start of the app who is loged in, and to witch
user groups they belong o... more >>
Filling a Dataset
Posted by Sid Price at 2/21/2007 10:36:50 AM
I have Dataset that I need to filter into another Dataset for display and I
can not find out how to do this. I have found methods for copying a Dataset
but I can not see how to filter the rows copied using my query.
I hoped to be able to use a DataAdaptor to do this but SelectCommand
requir... more >>
Timeout while executing stored procedure from VB.net
Posted by drolfe NO[at]SPAM nelsonwatson.com at 2/21/2007 10:33:22 AM
See below the code for details about the scenario.
------------------------------------------------------------------------------------
Public WithEvents conADS As New SqlConnection("Data
Source=server;Initial Catalog=db;Persist Security Info=True;User
ID=username;Password=password;Connection ... more >>
Share resources between projects
Posted by Penelope Dramas at 2/21/2007 9:26:06 AM
Hello,
I'm trying to keep my application as small as possible and would like to
know if there's any way to share resources (primarily images) between
projects.
Thank you
... more >>
problem in first web form application
Posted by Rachana at 2/21/2007 8:46:47 AM
Hi Friends,
I hv just started learning vb.net .
When I was creating my 1st web forms appl., got follw. problem.
1. It doesn't allow me to type proj.name. Simply displays default one
as :WebApplication1
2. Displays default location as
http://localhost/webapplication1
I hv specifi... more >>
XML Help
Posted by Mark Cooney at 2/21/2007 4:25:08 AM
OK this might be long winded by want to show you everything I am doing.
Down below is the result I get from an API Call to a website called Betfair.
The following is some code I am trying, but I have also tried many different
variations.
Dim response As HttpWebResponse = request.GetResponse(... more >>
convert Uint32 to System.drawing.color
Posted by Yaniv at 2/21/2007 2:00:51 AM
Hi
How can I convert Uint32 variable to System.drawing.color ??
Thanks in advanced
Yaniv
... more >>
Mulitble forms in VB
Posted by Karsten_Markmann at 2/21/2007 12:10:47 AM
HI. I am currently converting a VBA application to VB .Net 3003 (Com
addin).
I have several foms which I call from the main module.
In VBA code execution stops until the form is closed but in my VB .Net
application the code in the main application continues executing even
if a form is open.
... more >>
Problem on running clickonce applications in Firefox
Posted by James Wong at 2/21/2007 12:00:00 AM
Hi,
When I run the application in Firefox 2.0 using clickonce, it need to save
the setup.exe and click open this file.
How to skin this steps?
Thanks.
James
... more >>
freeze cursor
Posted by Ivica Muruzovic at 2/21/2007 12:00:00 AM
How can i freeze cursor in vb2005? ... more >>
deployment of clickonce applications
Posted by James Wong at 2/21/2007 12:00:00 AM
Hi,
I want to deploy a setup file to another computer, it will publish to a
web server for clickonce after run the setup file.
Can I do this in VB.Net 2005?
Thanks.
James
... more >>
collection property and refresh control
Posted by --== Alain ==-- at 2/21/2007 12:00:00 AM
Hi,
I have a control which has a collection property.
when an item of the collection property will be added, removed, and so
on, i would like to refresh the control itself.
Usually for that i use eventhandler in the set method of the property.
But as the collection property has only a get... more >>
|