Software Development Network Logo
  • Visual C++
  • Windows Live
  • Windows Forms
  • .NET Development
  • VS Team System
  • Visual J#
  • Visual Basic
  • Windows Vista
  • VS Express Editions
  • Game Technologies
  • Architecture
  • SQL Server
  • Visual Studio
  • Visual C#
  • Visual FoxPro

Software Development Network >> Chetan Kumar's Q&A profile

Chetan Kumar

Member List

Ahmedcr
JavanehA
quacka
icools.tw
CharlemagneJunior
JVP
Nick Hertl - MSFT
vb6newbie
Henry_2003
Raghavan M.K
Joe Rush
Alexandre Siniouguine
Iyana
Mike Jay
Tommy Williams - MSFT
r3ds0x
zhili
visc
Eshani
dozaone
Only Title

Chetan Kumar's Q&A profile

  • Visual Basic How do i use a timer

    How do i use a timer bit of a stupid question but it has puzzled me! I would also like to know how to link VB with databases i am currently working on a project and i need some help. Using a timer.... Drop a timer control on the form Set the Interval Property of the timer control Put some code in the Timer_Tick event Call the timer control start method and every interval specified you code in the tick event will be run. To stop the timer call the .stop method. Linking with databases Thats a big open ended question - any more specific questions as there are numerous resources on accessing databases (which data ...Show All

  • Smart Device Development trying the send/receive messages with cemapi...

    Hi all, I’m trying to make my application send and receive mail messages following some MSDN docs, but I’m facing the following problems:   the piece of code is: ...  LPSPropValue pRecVal = NULL;  memset((void *)pRecList, 0, cbRecList);  pRecList->cEntries = cRecipients;  pRecList->aEntries[0].cValues = cRecProps;  pRecVal = pRecList->aEntries[0].rgPropVals;  pRecVal[0]->ulPropTag = PR_RECIPIENT_TYPE;  pRecVal[0]->Value.ul = MAPI_TO;  pRecVal[1]->ulPropTag = PR_ADDRTYPE;  pRecVal[1]->Value.lpszW = L"SMTP";  pRecVal[2]->ulPropTag = PR_EMAIL_ADDRESS;  pRe ...Show All

  • Visual Studio Express Editions how getting the benefits?

    Hi:) In the mail of "Thank you for registering Visual C# 2005 Express Edition", there was written the following statement: "Accessing your registration benefits is easy. Simply go to the Registration Benefit Portal for further instructions." But whem I'm clicking che link, it's said to me: The Microsoft Passport Network is unavailable from this site for one of the following reasons: Why how can I go on Thanks everybody! Here is the site for C#. Try it, you might have to login to Microsoft Passport Not sure. https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 ...Show All

  • .NET Development How do I copy a solution and all its files to another computer?

    I am new to VB.Net but not to VB. I do part of my development on my laptop and part of it on my desktop computer. I need to be able to keep the code on both machines in sync with each other. What I am used to doing with VB6 is to simply copy the entire code directory from one machine to the other using the file manager and by mapping to the remote drive. I just tried that on some code that I have been working on with my laptop. The files all copied well enough. When I opened the copied solution on my desktop to work on it I found that the forms did not look the same. In comparing the properties of the forms I found that some things were ...Show All

  • Windows Forms Transparent Panel Headaches

    Hi, I'm having a really frustrating problem when using transparency in a Panel, if anyone has any suggestions I would really apreciate it. My problem is the following: I have a Form with a Panel contained on said Form. The Panel has the BackColor property set to "Transparent". I would like the background of the Form to be visible through the panel (I assume this is what setting the BackColor property to transparent means ). When my form first loads all is well - the underlying Form is visible through the transparent Panel. However, if I minimize the Form and then Restore it - now my transparent Panel displays what is underneath the ...Show All

  • Visual FoxPro Working Folder

    With VFP 3.0 I always checked whether the EXE folder sys(16,0) existed in the same folder as the current working folder set("default") + curdir() . If they did not match then I knew that CONFIG.FPW would not be read. So I would exit and display a message telling the user to modify their shortcut. Is there any way in VFP 6.0 and newer to make sure CONFIG.FPW is read regardless of the current folder or method used to start the program ================== I also used the following method to check if the EXE was already running. To prevent users from accidentally running the program twice and accessing the same set of data files. set libr ...Show All

  • .NET Development XML Web Service Weird Issue

    Hi All, I have a web service for our client was running fine on our localmachine. Web service receive/send data to our pocket pc devices. Then we have a success trial on exploring web service to allow outside people to consume it. However, when we deploy this web service to our client. It doesn't seem work. - really doesn't work at all. I tried xcopy, msi web setup method. At the end, I end up copy whole virtual directory to my client's computer. Now, I can access the web service. But I was unable to pull /send the data. Web service suppose to pull data from MS Access and send data back to pocket pc. Connection string  = "Provider ...Show All

  • SQL Server Problem in bulk insert

    Hi All, I am trying to perform Bulk Insert for an existing folder containing the data files into an existing destination table . I get the following error : [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot bulk load because the file "C:\PD Data\PDDW_md_costs\Files_to_load" could not be opened. Operating system error code 5(Access is denied.).". Here Files_to_load is the existing folder that contains the data files. I am not sure why it is saying that i do not have access to it. I have however also tried sharing the folder providing full access to it. A ...Show All

  • Visual FoxPro formset=>deployment=>etc.

    Hi there, As a part of an effort to deploy and application I have been trying to do a few tricks. They have been suggested previously by Cetin and Tamar especially. The code is placed in a .prg file. I tried a few things. oNewInstance = CREATEOBJECT('FormSet') oNewInstance.NewObject ("urls","form") <= secondary, child form oNewInstance.NewObject ("cPlusIntrnals","form") <= main form oNewInstance.cPlusIntrnals.Activate () oNewInstance.cPlusIntrnals.Show (1) Nothing of this works. Apparently I am missing something. The two forms that are mentioned: are real forms that have many pr ...Show All

  • Visual FoxPro Database security

    Sorry, my english less good . I'm making a program by using Visual FoxPro computer "A". All database, tables, form, menu and report stored in that computer. Which I wish to ask: 1.        If someone using computer "B", do he/she can make program with source exist in computer "A” 2.       If there are some computer which join by workgroup or domain, then each the computer have front-end and database is store in computer "A", how to be every the computer can only open data pass provided front-end, and cannot open table or delete file though use Visual FoxPro i ...Show All

  • Visual Studio Tools for Office Access 2003 Stand-Alone and Win 2003 Server Certificate Services.

    We are upgrading our Access 97 stand-alone applications to Access 2003. Once upgraded, an end-user will get security prompts unless the macros (vb code) are signed with a certificate. I set up Certificate Services on a Win 2003 Server box but when I open Access 2003 and try to sign the code (using Tools/Digital Signature from the Visual Basic Editor) and the certificate is not available for use. Is it possible to sign an Access 2003 db using a certificate created from a Win 2003 server (using Tools/Digital Signature) or do I need to use Access 2003 extensions that are part of the Visual Studio Tools for Office Package Thank you in ...Show All

  • SQL Server Exporting to dBase from SQL Server 2005

    Hello there! I trying to export data from a SQL database in SQL Server 2005 to dBase.  I don't see it as an option anymore. Any ideas Thank you ...Show All

  • .NET Development Text in XSLTransform

    I am transforming one xml file to another using XSLT file. I create XSLTranform and load the stylesheet before calling the transform function. It seems to work fine but there are a few problems with text. When the XML file that I am trying to transform includes special text such as "£" sign the transformation will fail. I assume that I need to set some parameter to support w_char or unicode somewa, but I can't seem to fine the information needed. Can someone please help, or point me to where I can find more information on the matter. Thanks in advance! Most likely the "special" XML you are talking about is m ...Show All

  • .NET Development Forms and Controls cause 'Out of Memory' exceptions if not explicitly disposed?

    You can demonstrate this quite simply by performing the following: 1. Create a new Visual Studio Project - C#, smart device application, Pocket PC, windows application. 2. Add a button and a label to Form1.  Call the label 'lblMemoryAvailable'. 3. Create a new form by copying Form1.cs.  Rename the new form to 'Form2.cs' and get rid of the Main function. 4. Create three text box controls, three labels, an input panel and a toolbar on Form2. 5. Add a Load event handler to Form2 and type this code into it.  (Bold text indicates text you must add). private void Form2_Load(object sender, System.EventArgs e) {     ...Show All

  • .NET Development Using the DateTimePicker

    Hi All How can I use the DateTimePicker to add a new row in a access db How can add just the time in this format mm/dd/yyyy with out the time Private Sub btnAgregar_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAgregar.Click Dim miTabla As DataTable = DataSet11.Inventario Dim cfilas As DataRowCollection = miTabla.Rows Dim nuevaFila As DataRow Dim nuevoEntro As String = dtpEntro.Value 'How can add just the time in this format mm/dd/yyyy with out the time Try nuevaFila = miTabla.NewRow() nuevaFila(1) = nuevoEntro 'columna 1 nuevaFila(2) = txtCodigo.Text 'co ...Show All

©2008 Software Development Network