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

Software Development Network >> Gaurav G's Q&A profile

Gaurav G

Member List

Flakky
wBob
Ariston Darmayuda
DayTrader
Stephen Craig
kewpcg
dba72
baswegan2
Vankata
andradrr
Bastiaan Molsbeck
Sai A
musafir-a Voyager
Tom from cener.co.uk
Alex Poon
sticksnap
SouthernPost
Ayhan Yerli (TR-NL)
romanosj
Ananda Ganesh
Only Title

Gaurav G's Q&A profile

  • Windows Forms Encrypting the content of a textbox

    I'm having a hard time to encrypt the content of a textbox that will serve as a password entry in a Login Form, just like the native ASP.NET password control encrypts its content... thanks Drop the textbox on the form In the PropertyBrowser window, for the PasswordChar property of textbox, type some character like "*". Then whatever you type in the textbox will be displayed as * Is this what you were looking for ...Show All

  • SQL Server about update

    when transfering data from text file to sql server using dataflow how can i update a record if it exists.Is it not possible to use or call stored procedure in the dataflow. please let me know I havent downloaded any sample package on this article.please let me know where i can get that. I am explaining in detail please guide me with this. I have 10 columns coming  from my text file. In the lookup i connect one key column and check in the check box (available inputs to available lookups) and  the chekboxes i check one more key column What hapens when i run is that if any information in these two columns is changed it inserts as a new record which is correct (hope it is). ...Show All

  • Visual Basic Windows service does work every 24 hours

    How do I set up a Windows service to do work once every 24 hours. I have read that using a loop that checks the desired time to the current time is a good solution, but I am wondering if there is a better way. I want to accomplish something similar to Windows Update. you can place a timer on the service and implement the timeelapsed event and set the interval to 24 hours. The timer interval is measured in milliseconds so you want to convert 24 hours into milliseconds :-P http://msdn2.microsoft.com/en-us/library/393k7sb1.aspx does this work for you Have you tried it before Another thing you could do is on every hour, check if 24 hours has been elapsed either by adding 1 to a counter variable a ...Show All

  • .NET Development Using a string to supply a list in a "where something in (123, 456, 789)" style query

    Hello, I have been following Scott Mitchells data tuturials on the www.asp.net page.. so I'm a newbie and trying to understand how things work...so please if people could just bear with me.. I know I’m going the wrong way about this.. but dunno what to do… I'm trying to figure out how to execute an sql statement of the form: SELECT * FROM MYTABLE WHERE MYCOLUMN NOT IN (123, 435, 678) I have a table like CountyName(varchar) CountryCodeNum(int) Australia 36 Belgium 56 Ireland 376 And want to do a query like Select * from country table where countrycodenum not in (36, 56) And that will return Ireland when i do it in sql server query manager.. But I need to execute this SQL statement from inside an A ...Show All

  • Windows Forms Deployment/publish? error

    Hello, I am a "beginner" so i hope this is not a stupid question... I have Visual Basic 2005 express edition on my pc, and I want pubish my program so I can install it on an other pc. When I start the setup file, an error says that stdole Version 7.0.3300.0 must be installed. I've looked on the internet and find a thread that describes my problem. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=158186&SiteID=1 I changed Application Files to Include -> then I have a box that is able to tell microsoft about the problem. In References Project change to Copy Local=True -> this gives just the same error. I also put the adjustments back, so that i get the "stdole" error, and downloaded the stdole.dll and ...Show All

  • Visual Studio Team System Cell formatting help

    Hi !!!!!!!!!!!!!!!!!!!!!!!!!!! I need to do something like sub sTest() dim strTest as string strTest=".interior.colorindex=10" with range("A1") strTest ' basically formatting the range with a variable input end with end sub This is just a dummy code. I need to do this as I have a range which has different formats for different cells within the range. I would like to store the formats in an array and apply it to the range based on the key value or something. Thanks ! ...Show All

  • SQL Server function naming and execution

    Hi, I am converting a database from Oracle to SQL-Server 2005 and in that context I needed to implement a function in the database. My database default uses the dbo schema and the function is there too. I define a function called "Translate" and wanted to use it like this : SELECT translate(Phonenumber, '0123456789 ()+-', '0123456789') as Phonenumber FROM Customer but what pussled my was that in order to make this work I had to prefix the translate method with "dbo." like this : SELECT dbo.translate(Phonenumber, '0123456789 ()+-', '0123456789') as Phonenumber FROM Customer as all "objects" I'm using resides in the dbo schema - why must I prefiks only the function and not the table ...Show All

  • Visual Studio Express Editions re- teddy bear

    guys I have no desire to become involved in your squabbles......but let me say this... I asked a question, carsten was kind enough to answer....thanks carsten..... I will be in touch.....and although I have nothing against someone recommending a book......that is not what I want....I will go with carsten..... and I dont think this post was off topic until someone turned it into a personal issue there was a time not too long ago when these forums were very helpful..... but it is becoming more and more obvious that lately the emphisis is more to do with gaining points rather than helping......and I dont like it..... who locked the original thread ...and why. .....this is not right.... we are all entitled to out point ...Show All

  • Visual Studio Express Editions Inet?

    Can console apps have an Inet If so whats code to add and use, or if there is none whats an alternative what was Inet1 What control was this the WebBrowserControl has Navigate() not OpenURL. if you are trying to view the contents of webpage in a console app - it is not going to happen - the only thing you would probably see is to direct the output from the documentstream to the console app which would contain just the html text ...Show All

  • Visual Studio Team System Custom DateTime Control

    i have one custom datetime control like this < Control Type = " DateTimeControl " FieldName = "Custom .StartDate " Label = " Start date " LabelPosition = " Left " /> which is displaying with one checkbox inside the date control. Also i am facing the problem like when you click the date time control it is displaying date picker and once you click any of the date it is populating the exact date in the control but the next time when you click another date it is not updating the date also you have to press enter key to come out of the control or you have to do click outside to do the same. Regards, Kathir Thanks for your information. Howe ...Show All

  • Visual C# How to open a web browser from a Windows App?

    Could someone please tell me how to open a web browser by pressing a button on a Windows App that goes to a specific website Many thanks launch it with the Process class: System.Diagnostics.Process.Start(" http://www.someurl.com "); this will launch it in the default webbrowser of the user. you can also customize the way the process should be started by using the ProcessStartInfo class: http://msdn2.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx   ...Show All

  • Software Development for Windows Vista DirectShow 2 input filter

    I have created a Directshow filter that has 1 input, the base class is CTransformFilter. The input is MEDIASUBTYPE_RGB24. The filter does some color correction. Now I would like to add another input and make it a two input video filter for DirectShow. The idea is to use the second input for doing a composite. Both inputs should be both MEDIASUBTYPE_RGB24. Has anyone done this before Should I still be using the CTransformFilter base class Or should I use another base class or extend CTransformFilter base class to support 2 inputs. If anyone has any code samples for 2 inputs vide filter that would be great Don James I am outputting the result of the filter ...Show All

  • Visual Studio Express Editions some more questions :p

    yep, its me again and i have some more questions xD 1) how can i create a picturebox in the code itself like when i click button1 then there is a picturebox created 2) i want my 'if' thing to have 2 things in it (like if (MyInt == 0 and MySecondInt == 5)), how do i do this, as 'and' didnt work 3) u can write things in a combobox, but how can i disable that u write things in it 4) u can check and uncheck a radiobutton by clicking it, but how can i do that u cant check and uncheck it by clicking the radiobutton (i have some other ways to check/uncheck the radiobutton) thx in advance You can't see the picturebox unless you set the backcolor (which I did) or set the image property. I used ...Show All

  • Visual Studio Express Editions Compiling Error VC++ Express

    Hi; I used to work with VC++ 6.0 and since Microsoft announced that they won't support VC++ 6.0 no longer I decided to move VC++ Express 2005. I made a few examples with console app working fine. Then I tried to compile a Tutorial from DirectX designed for VC++ 2005 and received this strange error: "fatal error C1083: Cannot open include file: 'windows.h': No such file or directory" I look in the folder of my installation and that file isn't there. What should I do I try reinstalling everything but the same thing happens, VC++ Express doesn't have that file or what I am getting these errors after installing the SDK per http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ T ...Show All

  • Windows Forms How to show the caps lock is on balloon warning like Windows

    Does anyone know how I can show that balloon that windows shows when you are trying to logon and your caps lock key is on There are some VB examples out there of how to show balloons, but I need to show one using C# not VB as a warning to users when their caps lock key is on and they are trying to logon to an internal system. Anyone have any links to how to do this in C# or some C# code that will do this I would appreciate it. Thanks, Nathan You had the right number, just the wrong GetKeyState signature. This is working for me:         [DllImport("user32.dll")]         private static extern short GetKeyState(int nVirtKey); &nb ...Show All

©2008 Software Development Network