all groups > vb.net > january 2006 > threads for friday january 20
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
Seeking VB.Net Proxy examples
Posted by Jim at 1/20/2006 11:05:08 PM
I have seen http://www.vbdotnetheaven.com/Code/Aug2003/2146.asp - but it
does not work.
I need a working example....if anyone has seen one.
Jim
... more >>
vb.net tabpage hiding painting
Posted by marfi95 NO[at]SPAM yahoo.com at 1/20/2006 10:51:35 PM
I am having to resort to Mick's methods when it comes to hiding/showing
tabpages of my tab control since .NET doesn't work correct. I think I
have it finally workign the way I need, but because I can show/hide up
to 10 tabs, there is a lot of repainting/flickering going on and looks
really bad ... more >>
Time zones: Pretending to be somewhere else
Posted by Nathan Sokalski at 1/20/2006 10:34:06 PM
I use a webhosting service that is something like halfway around the world
from me and most of the people that will be viewing my site (and I am
assuming their server is too). This obviously has very little effect on what
I can do, but there is one thing that I would like to know how to do (if... more >>
Newbe question, What am I doing wrong
Posted by ken at 1/20/2006 10:04:38 PM
Hi,
I have two questions the first is: in the example below how can I call
an event from within a statement, such as replace Stop1 with cmdStop1
which is a button on my form?
My second question again deals with the example below. Shouldn't I see
the valve of " i" counting away in the txtCount1... more >>
Help Needed in bindings,
Posted by Marc R. at 1/20/2006 9:18:16 PM
Hi all,
from the child side of the relation, I need to get a parent table's columns
value,
ex :
Customer use a curency (I store the Curency_ID into customer)
I need to retreive the Curency_Name from the Curency Table
How can I accomplish that ? (what fonction or Syntax).
Thanks a... more >>
usercontrol events/properties question
Posted by iwdu15 at 1/20/2006 8:44:02 PM
how can i have my control that i made, only have my properties and my events,
not the premade ones? i hope this makes sense...
--
-iwdu15... more >>
usercontrol question
Posted by iwdu15 at 1/20/2006 8:16:03 PM
hi, how can i create a usercontrol that when added to the form via the
toolbox, it shows up like a timer or dialog box? i have my cotnrol
"Inherits System.Windows.Forms.Control"
but that just puts in on the form....how can i get that to work?
--
-iwdu15... more >>
Maximized MDI childforms.... Anyone?
Posted by Martin at 1/20/2006 7:19:38 PM
A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Maximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.
Did anyone manage to do this in VB2005? If so, I'd love to h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
No Beep with MSGBOX Possible?
Posted by fripper at 1/20/2006 4:38:24 PM
Is it possible to display a message box (using the MSGBOX function) without
the beep?
Thanks.
... more >>
CHANGING DATA TYPE
Posted by Savas Ates at 1/20/2006 3:21:17 PM
Dim ProductPropertyValues_Value as string
ProductPropertyValues_Value = xx("ProductPropertyValues_Value")
it returns error.. Because xx("ProductPropertyValues_Value") returns NULL
or "" records?
How can i convert it to string or which method should i use it ?
... more >>
HOW CAN I PREVENT MY VB.NET APPLICATION FROM CACHING BY IIS
Posted by Savas Ates at 1/20/2006 2:30:28 PM
I have a web application. I checked my files they work properly in my local
computer. When I try to upload it to our web server it doesnt work what i
made a change. Probabyly IIS cache my application. I stopped iis for my root
folder and restarted it again. It fails ? how can i solve it ?
... more >>
Selecting combobox item at runtime from code
Posted by Rayne at 1/20/2006 2:13:31 PM
I have a combobox that is bound to a datasource. It lists the users in
the system and I want it to automatically select the current logged on
user, so that the screen loads that user's information by default when
the app loads.
I have a stored procedure in SQL Server that returns the integer v... more >>
Bug Jit-Compiler?
Posted by Armin Zingler at 1/20/2006 2:12:17 PM
Hallo NG, (Crossposting hoffentlich angebracht)
folgender Code (VB 2003) sieht etwas chaotisch und z.T. unsinnig aus, aber
ich habe ihn absichtlich nicht entrümpelt, weil sonst das Problem nicht mehr
reproduzierbar ist. Es muss auch niemand den ganzen Code analysieren,
sondern es geht ledigli... more >>
Get information about Dial Up connections?
Posted by Lars Netzel at 1/20/2006 1:56:55 PM
Hi
How do I get information (read) about the phonenumber in the default Dial Up
Connection?
Best Regards/
Lars Netzel
... more >>
string formatting
Posted by soup_nazi at 1/20/2006 1:37:50 PM
I have a one string per line and I want to delete the last part of each
string after and including the final "/" character for each line
For example:
Applications/base/test1
Applications/base/test1/test2
Applications/base/test1/test2/test3
Applications/base/test1/test2/test3/... more >>
Convert Byte() to System.Drawing.Image?
Posted by JackBlack at 1/20/2006 1:35:23 PM
Using VB.Net (VS.Net 2k3)...
I'm at a bit of an impasse I think... Is there any way to convert an array
of Byte() into a System.Drawing.Image object without writing the array to a
file, then reading back into the s.d.i object? Couldn't find anything in
MSDN or by Googling...
Thanks!
... more >>
using selection in one combo box to populate contents of another c
Posted by Jedi10180 at 1/20/2006 12:07:03 PM
I have a combo box that has 5 categories in it. When a user clicks on a
category in that list, I need to have a second box populate with a list of
pdf files that relate only to that category. Then, when the user clicks on
the appropriate pdf file, I need the file to open in Adobe Reader. How c... more >>
Changed Date on PC, now project doesn't compile source code changes
Posted by Martin Horn at 1/20/2006 11:55:24 AM
Hi,
I have encountered a problem with compiling my project. Basically what
happened was that I noticed my PC date was set a day into the future, so I
reset it to the correct date. Now when I compile my project it ignores any
changes I have made to the source code.
Can anyone help me to f... more >>
Compressing (zipping) files
Posted by reidarT at 1/20/2006 10:58:09 AM
I will develop a backup routine with local files (zipped) to an internet
server via ftp.
How do I zip files in Vb.net?
reidarT
... more >>
search within a arraylist
Posted by James at 1/20/2006 10:53:49 AM
I've open a file and read the file into arraylist. My text file contents are
a.txt=a.bat
b.txt=b.bat
c.txt=c.bat
i want to do a select case statement for filewatcher, if a.txt is created,
execute a.bat and etc etc I do not wish to hard-code all possible *.txt file
in my select case state... more >>
Where have the Overrides gone in VS 2005?
Posted by Neal at 1/20/2006 10:52:09 AM
Hi All,
I have VS 2005 Pro and when inheriting a class in 2003 the drop down
combobox at the top of the IDE's text editor showed the overrides + the
Events for the class. However in 2005 it just shows the Events, and not the
methods that can be overridden. Is there a setting so I can see th... more >>
Maintaining a response user interface
Posted by Marina at 1/20/2006 10:34:47 AM
What is the right way to go about making sure an application is not frozen
and unresponsive while a relatively long running process is going on? The
process is making updates to the UI, which the user needs to see as they are
being made. However, it is desirable that the user is not able to ac... more >>
OT: Business Objects - what are they and can they contain objects like sockets?
Posted by g18c NO[at]SPAM hotmail.com at 1/20/2006 10:14:08 AM
Hi, i have posted off topic to hopefully pick up a few design tips from
the experienced programmers here. I have a number of objects in my
current application, two of which are nodes and gateways. The
DataGridView is excellent for me because i can add new objects to a
list in a generic fashion.
... more >>
Cache problem
Posted by robecflo NO[at]SPAM gmail.com at 1/20/2006 10:01:21 AM
Hi forum, i have a problem with forms. My client fills a form and then
submit once it is complete, then it redirects to another page some
users sometime clicks on the IE back button. So if the page is back the
form is load again and its filled with same data, so user can submit
again and the in... more >>
Destructors
Posted by Mythran at 1/20/2006 9:46:15 AM
In C#/C++, you can use the following (almost the same for both) for
destructors:
// Constructor
public ClassNameHere()
{
}
// Destructor:
~ClassNameHere()
{
}
In VB.Net, is Finalize() method the destructor method?
Thanks,
Mythran
... more >>
Excel Range will not put data into correct Cell
Posted by XxLicherxX at 1/20/2006 9:08:29 AM
Hello everyone - new to VB.net working with Excel
I am trying to populate data into cells in an Excel spreadsheet using
Range.Value. No matter what cell I give as an argument to the Range
object, Excel always puts the value in "A1".
Here is the code I am having problems with. I am not gettin... more >>
Best approach - databound controls & ADO.NET
Posted by Michael at 1/20/2006 8:44:02 AM
Hi Everyone,
I'm currently using VS 2005 and would like to use the databinding of the
controls to help ease up some of the coding I have to do (some of my forms
have over 120 fields). The problem I find is that in the database we are
currently creating the primary key within the stored proced... more >>
Programatic uninstall?
Posted by Steve Long at 1/20/2006 8:30:28 AM
Hello all,
is there a way to programatically uninstall a program via one of the Windows
Management classes or one of the Win32 classes? I'm looking for a way to
invoke the process that occurs when you click Add or Remove Programs in the
control panel. I have some applications in an install base ... more >>
ADO, DAO or OleDb?
Posted by HKSHK at 1/20/2006 8:15:28 AM
Hi guys,
I'm currently struggling with my database connectivity for a
VB.NET/ACCESS database software. I currently use OleDB, but I find it
quite cumbersome compared to DAO.
Is there anything of importance (e.g. instabilities, crashes, etc.)
which would require me to use OleDb or ADO?
Th... more >>
sockets or tcpclient/udpclient etc..?
Posted by djc at 1/20/2006 8:04:23 AM
I am very new to this... I just started playing around with some network
programming. I really only use vb.net. I say that so I don't get the 'use
c/c++' answer. Programming is a hobby for me, not a career. I'm only
interested, at least right now, in playing around with vb.net and maybe some
c#.... more >>
Simple mask Edit for Hours:Minutes
Posted by Bill nguyen at 1/20/2006 6:56:45 AM
I would like to be able to force "HH:MM" format for a text field to show
hours and minutes in military format. User can enter 130 or 0130 and the
text would display "01:30"
Any suggestion is greatly appreciated.
Bill
... more >>
NetUserChangePassword Module not found??
Posted by AndyL at 1/20/2006 6:06:03 AM
Hi,
when i call the NETUserChangePassword from the netapi32.ll I receive "Module
not found" error?
Here my code:
Private Declare Unicode Function NetUserChangePassword Lib
"netapi32.dll" (ByVal domainname As String, _
... more >>
How to close an application??
Posted by pamelafluente NO[at]SPAM libero.it at 1/20/2006 5:45:24 AM
Hi Guys,
I have a small application which uses a NotifyIcon. The user can set
the program so that when he clicks on the form-cancel button "X", the
program will instead be minimized in the icon try. See code below.
My problem is that my code is problably too naive. In fact there is a
proble... more >>
Parsing a string - please help
Posted by almurph NO[at]SPAM altavista.com at 1/20/2006 3:45:01 AM
Hi everyone,
Hope that you can help me please? I have a string of the form:
wordA wordB wordC wordD etc etc
I want to de-duplicate it- that is, I want to remeove any repeated
term (leaving only 1 occurance of all terms).
What is the fastest way? I have lots of strings of this nat... more >>
removing items from combobox
Posted by Sam at 1/20/2006 3:19:30 AM
Hello,
Framework: 2.0
IDE: VBExpress
Problem:
I have a datagrid that contains a combobox type column. The grid is
bound to a datatable. The comboboxes have a value member and a display
member.
If the user select a value in the combobox on the selected row, then
all the list of items in... more >>
CBT Hook
Posted by bruno at 1/20/2006 2:12:01 AM
In a VB.NET 2005 program, that hooks Kb and mouse inputs for any active
desktop application, I've just added a new CBT hook. After that every think
work fine, like before, BUT:
CBT filter is not actiated, even if SetWindowsHookEx returns a valid hHook
and UnhookWindowsHookEx returns False. A... more >>
dispose the login form
Posted by jt at 1/20/2006 1:13:02 AM
The program i have has login form.
After a user has loged in, formX is loaded and i want to dispose all the
forms that where used before (login form).
so the result should be the same as when you use formX as your startup object.
I dont want:
- to hide or minimaze the login form.
- use ... more >>
odd designer error
Posted by guy at 1/20/2006 1:02:02 AM
occaisionaly when going into the forms designer i get the message:-
"Code generatinon for the property 'Source Module' failed Error was: 'The
value 0 is not a valid value for the enum 'EnumSourceModule'.'
any ideas what this is?
*guy*... more >>
Job LastRunOutCome??
Posted by Phonzo at 1/20/2006 12:43:27 AM
Hi all,
I am trying to determine the status of a Job after it has finished
running, but I don't get the correct results:
I first check if the Job is currently Running:
Private Function isJobExecuting(sJobName As String) As Boolean
Dim JobServer As String
'Execute a SQL Server... more >>
data on datagridview not updated
Posted by Danny Nielsen at 1/20/2006 12:35:21 AM
Hi
I am new to vb.net 2005 (in fact vb in general as well). I have tried
creating a datagridview with 4 columns, with one as a
DataGridViewCheckBoxColumn. My problem are that data has been put in
the way they should from my db but updates arent visible on this
particular column. The data are ... more >>
|