I want to open all my sub forms in a new thread. I litterally have hundreds, so I was hoping to pass the object type (frmmyform1) then it just creates a new thread of that object using application.run.
Is it possible to pass the object type and have the thread dynamically create the new object...
I have an app that has 1 main form (mdi container) that had Hundreds of menu options each opens a sub form. Due to an issue I needed to recode the opening of these sub forms via creating a new thread for each one. Everything works fine except The main form no longer ownes these sub forms...
I am using the socket class and using a traditional method of reading the socket by 1024 byte.
This causes an issue as the app I am writing needs to monitor this socket line by line in sequence live to properly work
So for instance I read from the socket
Event:caller
View state:6369...
OK, so I have a project that has the following issues:
Here is the setup
VS 2010
Win 7
64 bit
1. I am using a compiled library that ONLY works win 7 64bit, using a 2.0 framework (Yeah, all others it does not run)
The app runs fine as a console app and everything else as long as I use that...
I have a System.XML.XMLDOCUMENT and I'm looking to pass the xml as a parameter to sql.
I created a dataaccess class, but I am getting invalid cast.
So here's some sample code
dim x as new system.xml.document
x.load("C:\MyXML.xml")
dim adapt as new...
I'm racking my head over this!!!
I have a simple XML file
<?xml version="1.0" encoding="utf-8"?>
<GetPhoneInfoResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.serviceobjects.com/">
<PhoneInfo>...
I am writing a webservice. My concern is I want to write this with threading because there can be 1000's of simutanious requests.
My concern is should I limit the amount of active threads? Each request queries another webservice then returns those results to the user. What's the best...
I am very new to asp.net, and I am trying to find the best practice of using a news scroller.
I want to scroll news stories vertically with a link to the article. I would like the scroller to populate from a datatable I pull.
Also when the mouse hovers it I want it to stop scrolling.
If...
Why does the td not pull the width when i use a rollover image (It does without) Here is the code that does not work
<td align ="left" valign ="middle" class="top_Email">
<a href = "home.aspx" > <img class = "top_Email" src="images/top_Email.jpg"...
I added a datetimepicker to my form
I want to select the year automatically when a user clicks on it.
SO currently my dtpicker displays [ 1 / 10 / 2008 ]
When someone clicks on it, the 1 month is highlighted. I want it to select the year. I just need the code to programically select the...
How should I do this.
I have an application that needs to get activated with a key.
The key I provide the user also holds information in it that is needed to activate the app (So I need to decrypt it).
My prediciment is how do I decrypt the key w/o storing my password/key in the application...
Is there any way in vb.net to do a equation similiar to
if 1 = 1 = 1 = 1 then
debug.write("Value is true")
else
debug.write("Value is false")
end if
if 1=1=1=2 then
debug.write("Value is true")
else
debug.write("Value is false")
The first "IF" would come out to true because all values are...
I have a app where the user needs to enter a Registration Code to register.
The Code when decoded will tell the computer the current date and time of the key creation along with a few other things that will validate the software.
The issue is my Encryption is symetric using tripple des for the...
I am creating a applciation that will need to generate an install packages (MSI) that the user can give to someone.
Is there any way to programically create a msi package on the fly?
Thanks
In my deployment project in vs.2003, I have added a custom shortcut to the primary output and put this shortcut in the desktop folder.
I then set the icon for the shortcut by clicking properties and selecting
my icon. The icon is 256 resolution. When I install it on the computer I am doing my...
I need to find a way to programically change the settings of my default printer (or Any printer). Idealy I would like to do the following.
1. Show a print Dialog Box
2. Let the person select a printer and set the printer settings for that printer.
3. Pass the new printer settings to the...
*****EDITED***
ANSWER IS:
dim _wbdoc as new excel.workbook
_wbdoc.Windows(1).Zoom = 20 ' can be any number from 10 -400
Programically Zoom Magnification of Excel useing the Excel Object Library.
***Original Question
I have an app where I need to simulate holding the ctrl key and clicking...
I am soon going to be starting a project where I need to parse the subject lines of email that arrives (As soon as it arrives).
What is the best method for doing this large scale (over 100,000 Emails per day).
the company already uses exchange server, is there a api that will allow me to do...
I need to interact with Excel via the Microsoft Excel 9.0 Oject Library.
My issue is I can not itterate through custom views I have created in excel for the life of me
Imports EXCEL
Private sub test()
Dim ExcelApp As Excel.Application
ExcelApp = New Excel.Application...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.