Software Development Network Logo
  • VS Team System
  • Visual J#
  • Visual FoxPro
  • Windows Forms
  • Visual Basic
  • Visual C#
  • .NET Development
  • Visual Studio
  • Smart Device
  • Visual C++
  • Windows Live
  • Microsoft ISV
  • Windows Vista
  • Architecture
  • SQL Server

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

newbie777

Member List

milfora
Geyur
alex_f
mntlnrg
David mcCabe
keiop
Rhys Thomas
psc161
RegMellon
Roy 12345
AndyB C#
Wendy909
Namburi
Asher
e2e
viraj@etech
Vasanths R
bin joy
anjin
Solve-IT
Only Title

newbie777's Q&A profile

  • Visual C# boolean expression evaluation

    Hi, is there any better way to determine whether the expression is true than putting it into the DataTable and perform Select Currently solving like this, but seems quite expensive to me: string var = "2" ; DataTable eval = new DataTable (); eval.Columns.Add( "var" , typeof ( string )); eval.Rows.Add( new object [1] {var}); string expr = ">1" ; return  (eval.Select( "var" + expr).Length > 0) Are you trying to create dynamic code You could juste convert them to integer return Int32.Parse("2") > Int32.Parse("1"); If you want dynamic code you can use th ...Show All

  • Visual Studio Express Editions Graphics Render Frame Rates?

    i am using the Graphics backbuffer and then the Render method. How can i see the frame rate that makes it to the screen. does it wait to "render befor it move to the next code If the game loop goes to fast will the next render code over ride the one befor it Help please. thanks for the code but... the real problem is that i dont understand how the "render" method (not the one in DirectX) works when drawing the back buffer. I can track the number of time it enters the render loop but what happens if the program goes fast and i get to the render code befor the last render has time to make it to the screen (if thats ...Show All

  • Windows Forms how to shutdown or exit windows using vb.net

    hi all ... can anyone tell me how to shut down a computer using vb.net .. if possible can anyone provide me with the code thanks In short: 1.  Create a new VB Class Project ("WinShutDown") 2.  Paste the code from inside modToken into the auto-generated Class1 (be sure to copy the imports statements above Class1 as well) 3.  Rename&nbs ...Show All

  • Windows Forms Microsoft.AGL.Common.MISC.HandleAr() Exc

    at run time caused by : this.Controls.Add(this.tbPlanning); error: exception {System.Exception: Exception at Microsoft.AGL.Common.MISC.HandleAr() at System.Windows.Forms.Control._SetParent() at System.Windows.Forms.Control.set_Parent() at ControlCollection.Add() at DeKangoeroe.KMaankomst.InitializeComponent() at DeKangoeroe.FormStack.Preload() at DeKangoeroe.FormStack.Push() at DeKangoeroe.Menu.btnKMreg_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.For ...Show All

  • Software Development for Windows Vista Sharing same workflow instance with two different WWF Runtimes

    Hi, is it possible to share the same workflow with two different workflow runtimes on two different hosts. This means both runtimes can listen to events for the same workfow instance, however each will listen to different events within the workflow instance not the same event. Akram, This does work but you'll need to use a persistence service that can be shared between the runtimes (e.g. the SQL persistence runtime). You will need a way to resume the instance into your host on receipt of the event. I've implemented something like this that allows a host to manage long running processes across a web farm - the events in this sc ...Show All

  • Visual Studio Team System Source Control Nightmares

    We are using Beta 3 TFS with Visual Studio RC and having complete source control nightmares.  Some of the issues I'm having: *  I will open solutions that I haven't opened for a few days only to find all or many of the bindings have gone invalid.  Most of our solutions contain a mix of class libraries and .Net web sites, but the hosed bindings seem to effect both types of projects. *  When I unbind and rebind the projects, attempts to Get Latest say all my files are up to date when in fact they look nothing like what is on the server.  Performing a "Get Specific Version" with the "Get files already in workspace" opti ...Show All

  • SQL Server SQL Locking up

    Posted - 12/25/2005 :  10:54:44       My ADO based C++ application works fine for sometimes 15+hrs just fine. Im using SQL 2000. All of a sudden I dont know what happens all update operatins and insert operations start failing with 80040e31, timeout expired errors. It seems as though the whole database is locked up. And after 1hr or sometime 2 hrs everything is back to normal without any intervention. if i intervene and i stop all my app services. i run sp_who and there are no connections to the database. I restart my application services and still have those 80040e31 errors come up ...Show All

  • Visual Studio Crystal Report Wizard

    Hello, How do I open the Report Wizard once the report has been created Thanks. ...Show All

  • Software Development for Windows Vista SetWindowsHookEx and JournalRecordProc

    Hi, SetWindowsHookEx(WH_JOURNALRECORD,JournalRecordProc,hInstance,0) This is failing on Vista build 5231. Is this just not supported yet in the beta or is there a change to the SDK that I'm not aware of Thanks, Marcus Hi, I am looking for an answer to this also. When I call SetWindowsHookEx specifying Journal record I get an access denied error. Other hooks such as low level mouse seem to work fine. Does anyone have any infomration on this thanks, tim ...Show All

  • Visual Studio SetLanguageServiceID failure

    I created my own designer with a 2 logical views (code and designer). The files I'm designing are standard C# file, only they have a different extension. The strange thing is that when I showing both designer and code view, the code window is identical to de built-in c# code editor. When I close de design view, and only open the code editor, the default text editor is shown, and not the C# editor. Anyone an idea Kind Regards Frank Vanderlinden It sounds like there is a part of the registration that you are missing. Which parts of the registry are you modifying Have you had a look at the IronPytho ...Show All

  • .NET Development How to Ping a Server in .net 2003

    Hi, I'm writing a VB app that needs to test for a valid network connection to a server before connecting to a database, and executing a stored procedure on that database. I knew how to ping a server from its DNS name in VB6, but have no idea how to do it in .net - I'm confused by all the objects in the system.net namespace (sockets, addressfamily and so on). Any simple tutorials or sample code would be much appreciated. I'm not dot net framework 1.1 (vs.net 2003). Thanks, Jazza In VS2005 we have a ping class in System.Net.NetworkInformation. In VS2003, you can create a raw ...Show All

  • .NET Development Create p7m envelope

    Hi all, this is my first attempt at using pkcs classes to create a p7m envelope.I am trying to accomplish the following 1. sign a document with a certificate 2. envelope the signed document in a p7m file that is viewable using p7mViewer or SignoReader What I want is a valid p7m file with NO recipients, that is I do not intend to send the file to anyone, but only store the signed file in a DB. I create a SignedCms, pass my document byte array to a ContentInfo instance, compute the signature, Encode() and then save all as .txt.p7m but Signoreader does not recognize the file format. Anyone already worked on a similar issue Tha ...Show All

  • Software Development for Windows Vista WWF server and client

    What does it mean that Windows Workflow Foundation is available for both client and server versions of Windows. witch is the server and witch is the client how to i get them If you mean the server and client versions of Windows Workflow Foundation, there is only one version and it works on both. To download the Feb CTP build you can go to www.windowsworkflow.net , on the main page there is a link. ...Show All

  • Smart Device Development how to take RSSI in a bluetooth signal?

    Someone knows how to take the RSSI (signal strength) in a bluetooth signal in c# (or VB.net)   Any example should be appreciated.   Thanks in advance. Visit http://www.pinvoke.net ; they have a small section for CF. ---Mike ...Show All

  • SQL Server what's happening to this?

    I have 2 aspx pages. one is "login.aspx" and the second is "test_connection.aspx" . the "login.aspx" is using the membership class for my website's security. if u have have restarted your computer and you first load this "login.aspx" , this will work fine and you will see that you can create a user. when you load (or view) next "test_connection.aspx" you will get this error message: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed. Login failed for user 'sqluser1'. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Bo ...Show All

©2008 Software Development Network