Software Development Network Logo
  • VS Team System
  • Game Technologies
  • Visual Basic
  • SharePoint Products
  • .NET Development
  • Windows Vista
  • Visual C++
  • SQL Server
  • Visual Studio
  • Windows Forms
  • Visual C#
  • IE Development
  • Microsoft ISV
  • Visual FoxPro
  • Smart Devicet

Software Development Network >> vijaygill's Q&A profile

vijaygill

Member List

JimTan
Nakkeeran R
Bill Tubbs
Windows Project
blemos
dasryms
TYTYTY
IamHuM
Siteadm
rodniko
silversurfer25
dizz
DKB
prasad_8104
kaushikn1
eldiener
noctifer
Bartosz
WII
riemerg
Only Title

vijaygill's Q&A profile

  • Visual Basic Login Class Problems!!!

    I decided to make a simple to use stand alone dll that would expose one function - AllowAccess(Title, NoAttemps, etc) as boolean. This would be called at the main programs Load event, if it returned False the program would close, if true it would keep going. Basically the dll has a class full of controls that i have yet to add, and a form class (frmLoginGUI). This is already dimentioned, but not initialised when the function is called. I want the function to run a form, allow the user to exit, or have a set number of goes at the password. i also want the form to be a dialog form! Basically, i can't show the form and ask for x dialog results as the result is repeated and it just closes, but i don't want to call the show dialog method ...Show All

  • SQL Server Repeate Outer Group in Matrix

    Hi, I am trying to make this report and I am using matrix in it. Currently it merge my outer group value. Is there any ways that I can use Matrix and have my outer group values REPEATED and not merged. Any help will be appreciated. Thanks, -Rohit Rohit, please take a look at my suggestion in your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1138711&SiteID=1 -- Robert ...Show All

  • Windows Forms How to create a Custom Form that appears in the Toolbox and is droppable on the Design Surface?

    I like to create a dll with a custom form that contains other controls (buttons, check boxes, etc). I am using vb.net or c#.net (2005). I like the form to appear in the Toolbox and be able to drop it on the design surface. This behavior is the same as the provided dialogs such as FontDialog. Searching the web showed that I need to add a designer attribute of ComponentDesigner: "Set the Designer attribute for your custom dialog to be ComponentDesigner (instead of the default ControlDesigner). That should make it droppable in the design surface as a component." But I have not been able to make this work. Can someone help Thanks, Rene Hello Rene, If you inherit from ComponentDesigne ...Show All

  • .NET Development How do i read variables in a text file?

    I have a text File called myTextFile.txt and i was wandering how can read and write variables into this text file Example. In my text file i have username1 = joe user1phone = 1234567890 I want the file to read username1 and place what it equals to into a text box. I also want to be able to change the variable "username1 = joe" to this "username1 = sara" Thanks. Hi, You text file structure is close from an .ini file. The ini file looks like this : [Section] var1=value1 var2=value2 Here is a link to a project that handles ini values. You can use the class provided in the link to save/read easily values. HTH. ...Show All

  • Visual Studio Express Editions NotifyIcon shows up double

    Hello, As shown here: http://jorijn.qweet.nl/screenshots/SnapShot-9112006-234734.png The notifyicon shows up double when i call my own class. Below is the code: http://paste.qweet.nl/4 Hope that someone can help me on this. Regards. Jorijn Okay. The field initializer in the BalloonShow class looks bad: pMain sp1 = new pMain(); I can't see what class pMain is but if it is a Form, you are creating a 2nd instance of a your form when you create a BalloonShow instance. One that you can't see because Show() was never called on it. However, the 2nd "notify" instance would be visible as the second notify icon in the tray. The workaround is to pass the form instance to the BalloonShow class as a constr ...Show All

  • Visual Studio Tools for Office Row Insert Issue

    Hi, I have a ListObject in my excel sheet. Below ths ListObject is another list of Items.. Illustrating my problem with an example: My ListObject is from C13 to K13. I have an entire row (A15 till end) with a backgroud colour. When the listObject is appended programatically, only range C13 to K13 moves down while the remaning cells with the background stay where they are. How can I insert a row in the ListObject without it disturbing the formatting below it. I'm sure there are a couple of ways to get around this but I am clueless on what to do and how to do it. Is InsertRowRange going to help me in this Hi, There is no easy way to do this. It is Excel behaior to shift only the rows in the ListObje ...Show All

  • Visual Studio Express Editions What are VB Express Code Snippets?

    I am brand new to VB.NET. In VB.NET Express, what are code snippets Are they supposed to be actual code usage examples provided by Microsoft or is it where the user can warehouse code for later reference When I reference the code snippet manager, all I get is a brief outline that looks like an XML file. Do I need to download something Note I only downloaded VB .NET express, I did not download SQL Server express or any thing else. When you are in a VB code windows Press and then Tab and you'll notice a popup appears which you can navigate to a selected item which will insert the code into you project. Useful for little commonly used snippets of code. The actual snippets themselves are contained in an XML file which al ...Show All

  • .NET Development How to make http connections to an MS SQL server and retrieve data from a data base this way?

    Hi, I want to be able to use an http connection to connect to a MS SQL server and take data from a database this way. What is the easiest way to do that I was looking for some way to do that directly by connecting my application to the sql server through http but I couldn't find anything. Or maybe some proxy-like app must be used to work between my application and the sql server which transfers data Thanks beforehand, Anton Please start a new thread for this last question so more people will look at it. Zlatko ...Show All

  • Visual C# Reading the end of an XML file

    I have a program that cycles through an XML file and outputs to another file every 1000 records. Thyis works fine until the end of the XML file is reached, when it fails saying my 'root' tag is not closed - although it does for the previous files. It seems to be having issues with recognising the end of the XML file, so can someone please confirm how this is done Currently I have a while loop to do this, with a for loop inside to cycle through the records, ie: while (XmlReader.Read()) { ... for (int i = 1; i <= 100; i++) { while (reads in a node here) { does the work } } Close the XmlReader and XmlWriter } This works fine for the beginning, until the end of the file is reached; is my way of reading the XML file correct (I have also trie ...Show All

  • Windows Forms Cannot restore from taskbar

    I've recently taken over development of a previous programmer's project. I'm in the process of debugging and have most of the issues ironed out except for this pesky little bugger. The program is an SDI app. There is one panel located on the main form. If I minimize the program with no forms loaded onto the panel then the program will "restore to normal" from the taskbar. If a form is loaded onto the panel, the app will minimize to the task bar but will not restore by clicking on the tray icon. I have to right-click and select "restore" from the pop up menu. App is written in VB.NET 2003. Thanks!! I could try to debug the consequences of using an API function. But, what would ...Show All

  • Visual Studio Express Editions background worker slowdown

    Hello all, I am working with Background worker to save large numbers of image files, and I have assigned this task to the background worker so that the program can keep on displaying pictures (not the same pictures being saved). The program used to take 4 seconds to synchronously save the images and when using a background worker it takes ~30 seconds.  I believe this is because the thread is started and the arguments are passed by value, thus requiring the large image files to be copied in ram before they are saved to disk.  The background worker thread will not allow me to pass the arguments by reference. Overall concept: display pictures and capture reactions to the images using a digital camera, capturing individ ...Show All

  • Visual Basic Long Numbers

    Hi, I would like to write applications, such as calculating pi, generating Mandelbrot Sets, factoring large numbers or prime hunts, which use extremely long numbers. I'm not talking about the measly 32 decimal places of the Decimal variable. I'm talking about two or three thousand decimal places. I've written a couple long number calculators which are, quite frankly, crude, cumbersome and slow. My approach has been to create arrays of byte characters, assign one digit to each byte, and then try to program the whole thing to handle addition, subtraction, multiplication and division; all the while trying to keep track of decimal places and polarities. It seems to me that there has to be a better way. Anyone know if it is possible to ...Show All

  • Visual Studio 2008 (Pre-release) How to Convert Key to String during KeyDown.

    Hello, I have a key down handler in my control and I need to convert the Key property of the KeyEventArgs to a string (considering modifers). Is there anyway to do this in WPF I know WPF will send a TextInput event after the KeyDown (if that key generates text input), but my code needs to know if KeyDown will generete TextInput before it returns from KeyDown. In win32, I used ToUnicode to solve this problem. In WPF, calling ToUnicode() causes weird side effects with dead keys. Thanks Felipe I just found out about an event called PreviewTextInput. It works jim dandy. I use it for comboboxes. It gives you the char that was just typed (e.Text), as well as the complete string that was typed up to ...Show All

  • Visual Basic MSRDP.OCX and Office 2007

    Hi Everyone, I have a small application using the msrdp.ocx control, everything works great until I test the application on a machine with Office 2007 installed, it just simply crashes, cold hard crash. Looking at the error log file is like looking at mumbo jumbo. The application runs fine, the crash occurs when I'm trying to unload the form with the msrdp.ocx control. If I run it in design-time, it will also crash however if I place a breakpoint anywhere, it will not crash. Something is going on with respect to timing and I have no clue what it could be; I have error handling everywhere but it doesn't catch it. Anyone else experience a problem with the two components working together Any help is appreciated. Thanks Nuno ...Show All

  • Visual Basic Error 2004 - Out of Memory - DAO.DbEngine

    When trying to compile my VB4 Application on a computer with more than 512 megs of Ram, I get the message "Out of Memory Number 2004". When I click the "Display the Data Access Errors Collection" it says: Error Number: 2004 Source: DAO.DbEngine Description: Out of Memory My program compiles fine on computers with less than 512 Megs of Ram. What can I do to fix this Thanks for your Help, Dennis Rose This is a forum for VB.Net questions. I'm not sure the best place to look for VB4 help but the VB6 resources should be a good start. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=478161&SiteID=1 ...Show All

©2008 Software Development Network