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

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

Delphieur

Member List

April m
Nash Bridges
Kannan.B
magicalclick
ShyamD
Kitzul
N. Farr
Amde
Shauliz
Ali Katouzian
DeadlyEvilRyu
John Sudds - MSFT
LuckyL
elvis8900
George Clingerman
KervyChoa
WRBehning
Mark Sztainbok
041661K
BobInIndy
Only Title

Delphieur's Q&A profile

  • Windows Forms Create a single form instance

    Hello, I am 16 and currently desiging a small login program for a SSL VPN. I have a clickable text link to launch a login form but if you click multiple times more and more appear! Could anyone simply tell me how to stop multiple instances of a login box from appreaing Thanks very much, Timothy Wright Thanks very much for the swift reply! The code I was using was: Login2 main = new Login2 (); main.Show( this ); Thanks for sorting out my query. Personally I wasn't expecting anyone to answer but there you are! Proved wrong! Deeply appreciated. Timothy Wright ...Show All

  • .NET Development Database Navigation : to get into the NEXT record ? code inside

    HEY GUYS i am developing a program while learning Visual C# so here what i am trying to do .... getting htm links from the database ( access ) and view it in the WebBrowser Control and, i have a button to the next link in that database to get it and view it in the WebBrowser so here is the code for that button but it doesn't work :( when i click on it this is the function i am using when button is clicked private void Next(string lesson) { string StrConnection1 = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\anything\database.mdb" ; OleDbConnection Myconnection1 = new OleDbConnection (StrConnection1); Myconnection1.Open(); string ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MDX 2.0 lost devices? (can't find beta website)

    I know this is a beta question.  Don't bother referring me to the "beta" site--there's no entry over there for directx beta.  Is it moved   anyway. Has anyone managed to successfully Reset() a device once it was lost under MDX2.0 I see how the samples do it, but it only seems to work for 1.1.  When I run similar code under 2.0, a call to device.Reset() only triggers my "lost" handler to get run (not "lost" then "reset" as it should be). In the Simple2D_2005 sample, a call to device.Reset() triggers the "lost" handler followed by "reset" handler.  But using similar code/logic under 2.0, this doesn't happen. Anyone have it _really_ working under 2.0 ...Show All

  • Windows Forms Can we Add ListItem objects to ListBox ?

    Dear friends i have basic doubt that is can we add ListItem's to ListBox (or) is ListItem's are only for ListView any suggetions Thanks Ranadheer You can add anything to ListBox because it accepts an object and every type in .Net is somehow directly or indirectly inherits from the object class. It better to Inherit from ListItem and override its ToString() method so atleast you can have meaningful view of its in ListBox: Here: public class MyListItem : ListViewItem { public override ToString() { return this.Text; } } I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Visual Basic Finding Length of an Real Media Audio File

    Hi, I need to find out the length (i.e. HH:MM:SS) of a rm (Real Media) Audio File from my application which I made in Visual Basic 6.0. I don't need to play it or record it, just find out the length of the file. Please let me know how this can be possible. Thanks Amad Rabtok, This was a good help, but I am still not getting the desired results. Following is the code for my application in VB 6. Please also note that I tried this in VB .Net and in the Immediate window copy and pasted the contents of the file through myreader.ReadChars(100), one by one, and found out that the file was .ra5 and also .rmf. So I think I must get the correct information. Shouldn't I Here is my code. Comments explain the results for some o ...Show All

  • Windows Forms how can i change the source code of a webpage with webbrowser control??

    i want to add some source code to a webpage to add some functions for my own uses.... for example a webpage has a javascript function a(str){ ..... } i want to add an other function b to filter out some text.. so function a(str) {b(str); .... }.. In debug mode it gets rid of the script. But it's already too late. When I hit viewsource it is still there, but in step-thru debug mode it goes away as n element. I don't have Navigated event. I'm using the webbrowser com control in .net. This should not be this hard...anyone ...Show All

  • SQL Server email with trigger inserted row

    I'm trying to create a trigger which, upon a row insert, an email is sent containing some of the inserted row information. Apparently the built-in stored procedure for email starts it's own session, so I can't use the local variables of the trigger. My solution was to create a temp table, copy the inserted row in, then refer to that from the email SP, then drop the table at the end. When I try to insert a row, it runs for a very long time, then gives an error message saying that it timed out. It was suggested I add COMMIT TRANSACTION in to force it to commit the data to the temp table. Doing this, it gives an error, saying "The transaction ended in the trigger. The batch has been aborted. Mail queued." In the table view, I'm forc ...Show All

  • Visual Studio Tools for Office outlook 2007 categories property

    Hi All, I'm using an application which Puts a string into the categories property of the outlook mail. In outlook 2003 this string value is retained in the categories property across mail forwards and replies. I noticed we access the application from outlook 2007 beta client, then while replying to a mail that category property is not retained (it becomes null). Any idea why is this happening in outlook 2007 Is there any work around to solve this. Thanks in advance I don't know of any way to accomplish that unless you have a considerable amount of control over the recipient's machine (which would allow you to consider using a custom Outlook form or an add-in). ...Show All

  • Visual Studio 2008 (Pre-release) TreeViewItem width to fit control & transformation

    Hi! 1)Is there any way to set TreeViewItem width in such way that they fit eaxactly all free space in the TreeView. (smth like items in listbox) I cannot manually set it in code because treeview width is defined automatically. 2) How can i apply transformations only to the treeview item and not to its child elemwnts (All effects are applied at node expansion, i tried to set RenderTransform of child elements to null but it didn't help) Or maybe i can perform all transformations before node is expanded but just after + button is clicked but i didn't find necessery event Thank you i do RotateTransform and ScaleTransform on TreeviewItem. P.S. Please dont be angry. But that stuff with width of tvi doesn't work ...Show All

  • SQL Server Running a profile trace in the background

    We want to record accurate usage statistics per user of our OLAP database by logging the queries into a database table - the profile trace give us exactly what we want (user ID, domain, duration, CPU time) except it means actively running the app on the server. Is there not a way to run it in the background as a scheduled job or service (or something) and writing it into a database table for later analysis Ultimately we want to use number of queries or CPU time to change the system out to those who are actually using the system. So monitoring accurately is important. Try also using the QueryLog server properties: you can setup a connection string to a relational database where queries will be logged ...Show All

  • Windows Forms Dataset Designer: "Unable to find connection MyConn (MySettings)1 for object 'MySettings'"

    Everything was working well yesterday, but today when attempting to open and preview one of the queries of a tableadapter in my application's most crucial dataset, generates this error: "Operation failed." "Unable to find connection 'MyConn (MySettings)1' for object 'MySettings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. .' I've searched these forums, newsgroups, google and come across a few examples of where the dataset designer has inserted additional connection lines within the xsd. However, this doesn't appear to have happened here. If I get the latest stable build in its entirety from SourceSafe, I sti ...Show All

  • SQL Server SQL 2005 becomes unresponsive Help

    I have a very strange issue going on with my SQL 2005 64bit version of SQL. The OS I am running is server 2003 r2 64bit enterprise with 12 gig of ram with dual core Xeons. The server runs fine for a while and then all the cups go up to about 90% for no reason. There is nothing in the SQL logs or the Events Logs. When this happens all of my websites and internal apps become unresponsive. The server has been running perfect for about 6 months and now this. The only software I have added besides SQL is LightSpeed by Quest. My server also Pages what I would say is way to much. The swap file is 16 gig and never gets about 11.5 gig full. I have service pack 1 for SQL installed from the beginning. I also from time to time get a general network e ...Show All

  • SQL Server Which algorithm is best for Perdiction

    Hi I want to predict which product can be sold together , Pl help me out which algorithm is best either association, cluster or decision and pl let me know how to use case table and nested table my table structure is Cust_ID Age Product Location Income Thanks Rajesh Ladda You want to create a structure that looks like this CREATE MINING STRUCTURE MyStructure ( Cust_ID LONG KEY, Products TABLE PREDICT ( Product TEXT KEY ) ) And then create either a decision tree or association rules model inside the structure. If you have many products, say, more than 1000, you should go with Association Rules. Otherwise trees work well, but I would experiment with both. ...Show All

  • Software Development for Windows Vista Referencing the current WorkflowRuntime within a web service

    Hi, Can you someone advise me on the best way to grab hold of the current WorkflowRuntime instance from within a web service In the absence of a better idea, I have tried creating my own instance within Global.asax, as follows: void Application_Start( object sender, EventArgs e) { // Code that runs on application startup System.Workflow.Runtime. WorkflowRuntime wfr = new System.Workflow.Runtime. WorkflowRuntime (); System.Workflow.Runtime.Hosting. SqlWorkflowPersistenceService wps = new System.Workflow.Runtime.Hosting. SqlWorkflowPersistenceService ( "Initial Catalog=WorkflowPersistence;Data Source=gerald\\sqlexpress;Integrated Security=SSPI;" ); wfr.AddService(wps); wfr.StartRuntime(); ...Show All

  • Visual C# Hiding Files

    I am looking for a way to hide files using c#. I know about changing the file attributes to hidden but I want to hide them regardless of the users view settings(ie. show hidden files). There are tons of programs out there that do this but I cant seem to find any examples of how. Any help would be greatly appreciated. Thank's Brad (This reminds the old good DOS days when I hid my files under "BAD" clusters....) Since you said "any" help, here it goes - how about hide your data into some other file formats such as a wav file The wav file have data blocks that you can put your own data. The media players / sound players will play the sound fine even you have extra data stuffed inside. ...Show All

©2008 Software Development Network