Search results

  1. V

    Pass object to create new thread with

    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...
  2. V

    Addownedform with form in different thread.

    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...
  3. V

    Socket read line by line...

    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...
  4. V

    Confusing problem works as stand-alone project, but not under 4.0 Framework

    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...
  5. V

    XML parameter

    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...
  6. V

    MSXML2 Works, but SYSTEM.XML Does not!

    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>...
  7. V

    Webservice threading

    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...
  8. V

    Asp.net News scroller

    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...
  9. V

    Roll over image.

    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"...
  10. V

    Question select part of the datetimepicker.

    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...
  11. V

    Deploy app that needs to decode.

    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...
  12. V

    Logical Operation

    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...
  13. V

    How to Secure a key???

    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...
  14. V

    Programmically creating MSI Package.

    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
  15. V

    Icon does not show for shortcut

    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...
  16. V

    PDF Control

    Does anyone know of a free pdf control for .net? Active x, or anything is fine. Thanks
  17. V

    Changing your default printer settings

    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...
  18. V

    simulate a key press in Excel

    *****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...
  19. V

    Best Approach to Programically Parse Email

    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...
  20. V

    itterate through Custom Views Excel object

    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...
Top Bottom