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

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

Gpg

Member List

JPC16
yanyee
cybertaz69
Terryj1
c_shah
Ian Morrish - MSFT
prasad_8104
ultek
Necromantici
Quimbo
Brake03
David Marley
Alatar
Jive Dadson
haihtomy
daniel mark
Thibaut
Andrew Revvo
GrindCrusher
pappascd
Only Title

Gpg's Q&A profile

  • Visual C++ need help with vC++ 2005

    Can somebody tell me how to run programs made with MV C++ 2005 cuz when I try to fing out how to run the Hello world code thing I cant find a run program putton or anything. Note: Im a 15 year old trying to learn C++ and maybe C# so try to keep the anwser simple please This question is also posted in need help . I hope someone else will explain why people should not post the same question in multiple places. ...Show All

  • Visual Studio Express Editions Scheduling a procedure

    I need to run some code at a certain time. I can do a While loop controled by a Time variable, but I think that that is too inefficient. What is the best way to do this I have something in mind like the Application.OnTime of VBA. Thanks, Antonio Dim WithEvents Tmr As New Timer Private Sub StartWait() Tmr.Interval = 5000 Tmr.Start() End Sub Private Sub Tmr_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Tmr.Tick If (timestart - Now.ToUniversalTime).Seconds < 120 Then Tmr.Stop() ' do something End If End Sub Don't know if it's any better than yours. It will keep the application responsive which may or may no ...Show All

  • Visual Basic Selection of item in dropdown not revealing subsequent dropdowns in webbrowser

    Hi there, I'm sure this is a really dumb question but I'm new to webpages etc... I'm trying to fill in data on an online form which when first loaded contains nothing but one dropdown box. When a value is manually selected in that dropdown in the webbrowser, it reveals a second dropdown box. However, when I set the value of the first dropdown programatically (webbrowser1.document.all("ID").value=x) the second box does not appear. I have tried the Invokemember("submit") solution posted elsewhere in this forum, but it does not work as that method is not supported by the "ID" element. Any help would be greatly appreciated as I've just about pulled all my heair out :) Thanks in advance ...Show All

  • Visual FoxPro Why Form won't renew?

    Hi, every one A single Table Form of VFP9 has a command button of previewing the report. It works fine but when exit the preview other buttons won't work "a window appears which asking to open the Table and soon after this massege appears "Program Error No table is open in the current work area" I found no problem with this button in wizard generated form and there is no error in program because it's one of the VFP sample program which Print/Preview report by date rang. At some point when Print/Preview exit and return back to the Form some how Form need to be refresh just like a wizard genetrated Form refreshs itself.. (I checked the wizard Forms properties and it's exactly the same as this Form) Any help will gre ...Show All

  • Visual Basic Tab Page Order. See the VIEW menu.

    Hi, I am using vb.net 2003. My question concerns tab pages. My tab pages get out of order when I run my application. How to I force the order to stay consistent Thanks, The order of the tabs follows the zOrder of the tabpages. The problem that you are encountering is widely known, but as of yet, no one has reported a set of steps to follow in order to reliably reproduce the symptoms and so MS are not able to fix it (Not Reproducible). I am not 100% sure but I believe that the order is only changed when you use the Collection Editor to modify the TabPages at design time. You can reset the zOrder in the IDE by using the SendToBack command on each of the tabpages, making sure that you start ...Show All

  • Visual C# how can i acces a control from another form

    hey i, how can i acces a control (that its in Form1) from Form2... ex. in form1 i have a textbox, and i want to change text from form2.   hmmm i didn't quite understand that let me tell exactly what my problem is in frmMain i have a browser named CurBrowser; and i want CurBrowser to navegate to a specific URL (from the textbox in frmOpen) and isn't there anything like calling the control in frmMain from frmOpen to be easyer something like this: frmOpen __________________________________________ private void button1_Click( object sender, EventArgs e) { frmMain.CurBrowser.Navigate(MyTextbox.Text); } ______________________________________________________ ...Show All

  • Windows Forms How to prevent Combo Box automatic selection of text?

    How can I set the combo's text to be the same as the text for one of the combo's Items, but still have the text display UNSELECTED When I set up the data in a combo box "combo" as follows: combo.Items.Clear(); combo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown; combo.BeginUpdate(); combo.Items.Add( "Item 1" ); combo.Items.Add( "Item 2" ); combo.Items.Add( "Item 3" ); combo.Items.Add( "Item 4" ); combo.Text = "Item X"; combo.EndUpdate(); The combo displays the text "Item X" UNSELECTED and shows none of the items in the drop-down list selected. If instead of combo.Text = "Item X"; I ...Show All

  • Smart Device Development deployment of c# on smart mobile - software needed ?

    Hi I wish to write small c# applications that will work on a smart mobile (specifically hw6515 by hewlett-packard) that has the 2003 .NET compact framework installed on it. Can I deploy c# applications to the mobile (I have activesync installed too) using the c# express edition If not, what is the minimum (i.e. cheapest) package that I have to get to do this. If I have to use (as I suspect I might) visual studio 2003, I notice that microsoft are doing a 60 trial for this software, would the trial allow me to do this also for the 60 days Thanks in advace, any help appreciated Showman http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=757420&SiteID=1 ...Show All

  • SQL Server How to deploy assembly from remote system, without using VS.NET

    Hi  I'm developing a tool to deploy the CLR objects from any where to the server But I'm unable to deploy from remote system to the server. I'm getting the error like CREATE ASSEMBLY failed because it could not open the physical file 'D:\Working\DBS2005V2\GL\GLREPORTS\DBS.GL.RM.SQL\bin\Debug\sample.dll': 3(The system cannot find the path specified.). when I try to deploy using EXEC dbo . sp_executesql @statement = N ' CREATE ASSEMBLY [DBS.GL.RM.SQL] FROM ''D:\Working\DBS2005V2\GL\GLREPORTS\DBS.GL.RM.SQL\bin\Debug\sample.dll'' WITH PERMISSION_SET = SAFE'   can anybody tell how to generate assembly_bits for assembly the VS.NEt is generating assembly bits instead of physical path to depl ...Show All

  • .NET Development does it make sense to use #If Debug Then and #If LIVE Then

    Or should we use another practice to execute certain code if we re in debug while we execute another code while we are in release. what is a good practice to do that pls. Thanks The ConditionalAttribute was added in .NET to avoid having to use the preprocessor to filter out debug code during release builds. Generally, it's suggested that ConditionalAttribute be used on a method definition in order for the method to be "empty" during release builds. For example: [System.Diagnostics. Conditional ( "DEBUG" )] void DebugOnly() { // do something knowing it will only be performed in debug mode. } The benefit to this is no #if DEBUG...#endif need be added to calls to DebugOnly()... ...Show All

  • SQL Server Plug-in Algorithm in data mining using SQL Server 2005??

    Hi, actually i want to implement a c# component that can help third party data mining algorithm and i want managed plug-in algorithm (without wrapper),. is it possible to write whole application in c# as Analysis servisce is in c++ , can we implement it in c# thanks in advance ~Chinmay The package that Raman pointed to contains all the COM interop part as well as a sample using C#. The architecture is: - a COM function wrapper, written in Managed C++ - a C# assembly that uses the first assembly and implements the actual algorithm - a step-by-step tutorial explaining how to add more complexity to your plug-in algorithm The full source code for all the components in included, as well as documentation f ...Show All

  • SQL Server Database Modification (Insert/Update/Delete) Event Notifications

    Hello, I am new to SQL Server and am building a C# application which will use a local SQL Server Express 2005installation. My application will be interacting with a DB Schema with approx 250 tables and the schema is already defined. My application is responsible for monitoring changes to the data in the DB. It must watch for all data changes in the database (Insert/Update/Delete). I am looking for a way to monitor changes to the DB data due to Insert/Update/Delete activity. Is there a simple way in SQL Server for my application to receive events whenever the table content is modified. I have come up with a few ideas myself, for example adding trigger to each table to update an additional Event table that I could look at or even r ...Show All

  • SQL Server Nesting stored procedure, how to ?

    Hello, I'm trying to use nested stored procedure but can't get it to work. I've created a stored procedure named 'sousmenu1_parents' which does a simple select, no parameter. here's what I'm trying to achieve now : CREATE PROCEDURE SelectAllDroitSpe -- Add the parameters for the stored procedure here @UserId int AS EXEC sousmenu1_parents ; BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON ; -- Insert statements for procedure here SELECT sousmenu1_parents . menu_id1 AS sousmenu1_id FROM authorisations_speciales LEFT JOIN sousmenu1_parents ON authorisations_speciales . page_id = sousmenu1_parent ...Show All

  • Visual Studio Team System FxCop and private methods

    Hi All, When I run FxCop , it seems to only give me warning for my public methods and ignores my private methods. For example if I create the following methods public void wrong_case() { Console.WriteLine("Hello World"); wrong_case2(); } private void wrong_case2() { Console.WriteLine("Hello World"); }. I get the following warning . Warning 5 CA1709 : Microsoft.Naming : Correct the casing of member name 'wrong_case'. Warning 6CA1707 : Microsoft.Naming : Remove all underscores from member 'wrong_case'. As you can see , only warning for the public method are created. Any ideas Thanks Jimmy What happens in the private(s) sections of the class is ...Show All

  • SQL Server A lock could not be acquired after 16 attempts and timed out

    Hi! I'm trying to handle errors in SSIS package. I created Scrip task where I do following: ----------- If CInt (Dts.Variables( "BADROWSFILE" ).Value) <> 0 Then   Dts.Variables( "ERROR_MSG" ).Value = "Errors in input file. Error count: " + CStr (Dts.Variables( "BADROWSFILE" ).Value) + ". See log table and file for more info."   Dts.TaskResult = Dts.Results.Failure Else   Dts.TaskResult = Dts.Results.Success End If --------- Then in package level OnError I added Execute SQL Script task where I pass ERROR_MSG as Input Parameter. The flow gets to the SQl task and this is what I'm getting: Error: 0xC001405B at Log error: A deadlock was detected while trying to lock varia ...Show All

©2008 Software Development Network