all groups > vb.net > february 2007 > threads for wednesday february 28
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
How can I capture input from another program
Posted by erickwan88 NO[at]SPAM yahoo.com.hk at 2/28/2007 11:54:38 PM
I want to capture the input from a writing pad and apply in vb2005 but
I don't know any programming codes about it.
The writing pad is connected by a USB port.
Before I run the writing pad program, it can be a mouse and move
around
double click = normal one click
click twice = normal doubl... more >>
Counting the lines of text, but upwards...
Posted by peraklo NO[at]SPAM gmail.com at 2/28/2007 11:42:43 PM
Hello,
there is another problem i am facing. i have a text file which is
about 15000 lines big. i have to cut the last 27 lines from that file
and create a new text file that contans those 27 lines. and after that
save both of those files... since that is a big block of text (15000
lines) i t... more >>
How to set value of SecureString?
Posted by Dean Slindee at 2/28/2007 9:26:09 PM
How do you set the value of a Security.SecureString?
Dim strSecure As New Security.SecureString
strSecure = CType("Friday", Security.SecureString)
... more >>
datetime picker problems
Posted by Michel Posseth [MCP] at 2/28/2007 7:13:03 PM
Hello we have encountered the following problems with the date time picker
control
A : datetime picker control gives focus to last entered field when moving
back and forward with focus how do we reset this to the first field ?
B : datetime picker in DD-MM-YYYY default format ( europe... more >>
Calling C# DLL from VB.NET
Posted by tim8w via DotNetMonster.com at 2/28/2007 6:06:19 PM
I'm trying to setup a SelectionChangeHandler for a call to a DLL written in
C#. In the C# DLL, the public declaration is as follows:
public event SelectionChangedHandler SelectionChanged;
To call this from C# I do the following:
ofdPicture.SelectionChanged += new ... more >>
Dumb Question
Posted by Robert Dufour at 2/28/2007 5:58:57 PM
How do you read all the data from an enhanced metafile and put it in a
memory stream?
Myfile.emf is part of my solution but I can't get the trick to read all of
it in a stream.
Thanks for any help,
Bob
... more >>
problem with changing color when logged
Posted by Bjorn at 2/28/2007 5:45:12 PM
Hi,.
i try to change the color of the main menu when the visitor of the site is
logged.
When not logged, it must be red, when logged, it must be green.
I start in the Master¨Page with putting the link to the red CSS file to
Visible and to the green CSS file to False..
In code-behind, i tes... more >>
Where is Sub New
Posted by active at 2/28/2007 3:57:20 PM
I have a couple of projects in the VS2005 format using Partial Class.
I can't find where the code for sub New is stored.
Can you tell me where it is?
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Serialize global variables
Posted by Monty at 2/28/2007 3:21:36 PM
Hello,
I have a settings class that looks like this:
Imports System.Xml.Serialization
<Serializable()> _
Public Class MySettings
<XmlAttributeAttribute("ItemCategory")> _
Public Shared ItemCategory As Integer
<XmlAttributeAttribute("DefaultItemCategoryID")> _
Public Shared DefaultIt... more >>
Simple password protect help
Posted by backwards15 NO[at]SPAM gmail.com at 2/28/2007 2:03:14 PM
Hi all,
I'm just creating a simple compact dot net 1.1 app to execute warm/
cold boot commands. Very simple app that just calls Win32API to run
the device reset.
However like all applications this is open for abuse and missuse from
end users. I was wondering if there was an easy way to have... more >>
Creating and writing to a TIF file, how?
Posted by Robert Dufour at 2/28/2007 12:43:14 PM
I need to create a tif file and write some simple text to it, about 4 or 5
lines, Just some thing like
"Hello this is mycompany"
"We will make a delivery between tomorrow 10 AM and tomorrow 10 PM"
I just want this to be in a fairly large font and centered, say in 14 point
Arial.
I've been ... more >>
resourses release problem
Posted by touf at 2/28/2007 12:09:44 PM
Hi,
I've an application (VB.NET version 2002, ms-access 2002) composed of an MDI
parent (menus) and some MDI childs.
When the DB start to be important (100 MB) i've started having some memory
problems.
I noticed (in task manager) that when I open an MDI child form, and I close
it the memo... more >>
Parameters of a printer
Posted by Patrick at 2/28/2007 11:03:33 AM
Hi,
Is it possible to change the parameters of a printer with VB ?
My printer can print on both sides and I would like to change the parameters
to print on both sides according to criteria but all automatically.
Thank you for your assistance.
--
Patrick... more >>
If statment and between range in the form text control
Posted by vsteshenko NO[at]SPAM dentsply.com at 2/28/2007 10:50:25 AM
Hello,
This is my first post so I hope I'm doing this correctly. I am
currently working on creating an order form for sales associates at my
work to be used at conventions. I have a form with a subform. On the
main form, there is a text box that displays the sum of total orders
entered in t... more >>
VB 2005 w/ 2.0 framework
Posted by Darin at 2/28/2007 10:40:04 AM
I have upgraded our application from .NET 1.1 to .NET 2.0, all works
fine from my local machine.
But, when I put the program on the server and try to run it from the
server (via a mapped drive), I receive:
Menu.exe has encountered a problem and neds to close. We are sorry for
the inconvenie... more >>
Need Help On Restarting Threads
Posted by pbd22 at 2/28/2007 9:58:03 AM
Hi.
I am getting the error: "Thread is running or terminated. It cannot
restart." It is happening inside a file upload loop where
a thread is created for each file (reporting bytes). After the first
file is uploaded, the error is thrown at workThread.Start().
I am new to threading and would... more >>
Trying to create a range dynamically
Posted by Tom O'Brien at 2/28/2007 8:55:02 AM
hello,
This is a basic questions... i have just started using vb....
I want to figure out how to create a range dynamically.
Say I have some data in a variable number of columns, in this example
3 - A, B, & C
Eg.
A B C
1
2
3 2 2 2
4 3 3 3
5 ... more >>
SecurityException was Unhandled
Posted by jtnpham NO[at]SPAM gmail.com at 2/28/2007 7:08:32 AM
This is code I created to add a record where the user inputs the new
text in textboxes:
Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnAdd.Click
City = txtCity.Text
Country = txtCountry.Text
p2005 = txt2005.Text
p2... more >>
Use vb2005 to detect the pen driver
Posted by erickwan88 NO[at]SPAM yahoo.com.hk at 2/28/2007 6:45:29 AM
I am doing a final year project for my school and is going to provide
for an organization, so I am asking for some help on here.
Indeed, I have no idea on how to get the input from my pen driver and
use on vb2005 as when I activate the pen driver, it will run its own
program itself and when I ... more >>
VB.NET app on Vista w/ 1.1 Framework
Posted by Darin at 2/28/2007 6:44:09 AM
We have an application at over 100 different sites that work great on
XP, 2000, Me, all w/ the 1.1 framework. The application is installed on
the server and the clients map to the server's drive and run the
programs from there. We do have to change the .NET framework security
settings so local i... more >>
Closing a window opened in a frame
Posted by Garg at 2/28/2007 6:31:03 AM
Hi,
I am facing a problem while trying to close a window that I've opened
in a frame.
I am using javascript to close my current popup window. I have written
the following line of code on click of OK button event.
Response.Write("<script> window.close();</script>")
Now the problem is sin... more >>
Synclock in IIS Hosted Remoting - Single Threading Function Call?
Posted by Spam Catcher at 2/28/2007 4:03:43 AM
Hi all,
I'm hosting a remoting service in IIS. I have a function which I only want
one concurrent access at a time. Will this prevent multiple users from
accessing the function at a paritcular time?
'Empty object used for sync locking purposes
Private Shared MySyncLockObject as new Object... more >>
Visual basic express, read and update Xml file
Posted by fenouillet.et NO[at]SPAM laposte.net at 2/28/2007 12:00:00 AM
Hi,
I'm steel trying to read and update my XML file with Visual Basic
Express but i am unable to find the right way to read my xml file and
update it if neccessary...
Here is my problem : evry day, i store the number of children in my
classroom in my XML file. For exemple, on monday, my app... more >>
Q: Parent Child Update Problem
Posted by G .Net at 2/28/2007 12:00:00 AM
Hi Everybody
I was wondering if anybody could help me with something that has been
bothering me for some time. Basically, it is a problem I encountered some
time ago with DataSets. I found a solution (which I will refer to later) but
I have a gut feeling that there must be an easier way to ... more >>
|