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

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

Daveskis

Member List

vikesh
Arcadian
Wolfgang51
Jose Vitoria
Kev Matthews
SharpRan
Bernard_Lambert
EdNeo
Paul Laudeman
state_dba
amol_16
endless glitches newbie
ssandu
shyam kodam
Orochi
Fatih Durgut
NewToC#
Bdy
nandinho
spano
Only Title

Daveskis's Q&A profile

  • Visual C# Threading Join issue - getting Join_Timeout Exception.

    Hi all, I have an application that creates an object which creates a thread in its constructor. The application then starts this threads by calling the Start() property on this object, and then calls a Thread.Sleep(), and then the Stop property to stop the Thread() - and example of the code is below..with the issue I am getting provided below. static void Main() { PowerNotifications pn = new PowerNotifications(); pn.Start(); Thread.Sleep(10000); pn.Stop(); } public class PowerNotifications { public PowerNotifications() { t = new Thread(new ThreadStart(DoWork)); } public void Start() { t.Start(); } public void Sto ...Show All

  • Visual J# axWebBrowser

    I have this problem in vusal j#,  C:\Work\Form1.jsl(92): Cannot find method 'Navigate(String)' in 'AxSHDocVw.AxWebBrowser' I have no clue how to fix this, the program works on my friends comp but not mine, I'm running win xp sp2 with zone alarm security suite installed. Please reply -- Thanks I have been trying to do exactly the same thing, however, what you have suggested there, does not work for me. Anything I could do ...Show All

  • Visual Basic Good articles on event handling in VB.NET

    I've started moving in to more advanced VB and I am presently having a look at event handling. I have tried to find some good resources on Google but event handling in VB.NET doesn't seem to be the stuff that people write about. On of my main questions is about the difference in event handling between C# and VB. Is it my perception or is event handling in VB a lot more basic I would appreciate it if anyone could point me in the direction of a good web resource or a book on event handling in VB. Thanks jjrdk I've been digging into the subject and have stubled across a major obstacle when implementing even ...Show All

  • Visual C++ Using classes from dynamically linked DLL

    I am attempting to use classes that are defined in my custom written DLLs. I am dynamically loading the DLLs using LoadLibrary. I already know how to access functions using GetProcAddress. Is it possible to do something similar for classes No! You can not use class exports via this way with LoadLibrary. A simple approach is to create interfaces like COM interfaces and return only pointers to those interfaces from the DLL. This is alaso a very flexible aproach and you hide the implementation details fully. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MDX(apr2006) tutorials?

    Hello all, I was wondering if anyone knew any good C# + MDX tutorials for a beginner. There are plenty of them out there but all of them seem to use an earlier version of DX9 than the april 2006 release. I had purchased a book (by Tom Miller) that seemed promising but I couldn't compile any of his code because of relatively big syntax changes. Should I just give up trying to use the newest release and go back to the summer 2003* release to actually use the book. I find it unfortunate that I'd have to use an older version to learn only to be forced to move forward later and have to relearn the correct classes/functions all over again. edit: * ...Show All

  • Windows Forms how to open the setting in Settings.xml into textbox when the program starts ?

    before i start i would like to say hello to all members ( this is my first post :P ) also im fairly new to programming / coding so be gentle - lol :) ---------------------------------- i have managed to add some code that reads and writes a settings.xml file from my settings window after the user clicks save.., this all works fine the settings win ...Show All

  • .NET Development Error : execute reader requires an available open connection

    Hi all, I have an error that occurs randomnly in my web application (it does not occur all the time) - execute reader requires an available open connection , the connections current state is closed. I have the connection string defined in web.config as <add key="ConnectionString" value="Server=Server1;database=db1;uid=sa;pwd=;pooling=false;"/> For Any help ,thanks in advance The Singleton object here is allowing the same connection to be returned to multiple simultaneous callers of getConnection. Imagine this scenario: Thread 1 (i.e. one ASP.NET request) calls getConnection. A new SqlConnection ...Show All

  • Visual Studio Team System Determining the version of TE

    Hi, Let say on some machine Team Explorer has already installed. I want to check whether the installed version is Refresh or Beta 3 RC. How to determine this - Atul Sureka Atul, You can easily find out by clicking on Help->About in Visual Studio and scrolling down to Visual Studio 2005 Team Explorer in the list to see the product details which contain the version number: 8.0.50727.43 = Beta 3 Refresh 8.0.50727.127 = RC 8.0.50727.147 = RTM Thanks, Othmane ...Show All

  • .NET Development [Need help] linking error for Platform SDK Server 2003 SP1 build 1289

    Hi, I'm building my x64 application with PSDK ( in "Win Svr 2003 x64 Build Env" console) and make file, without any VS IDE. Some applications are sucessfully built and running on x64 Win XP. Somehow, two kinds of linking errors always happen in a MFC application. I try to use /VERBOSE:LIB, /NODEFAULTLIB to analyze and re-arrange lib order, but it doesn't help. Many different linking options are also tested, it's still helpless. The following linking errors come from a static-link make file. Actually, both dynamic and static link also have the same problem. I'm trapped here. Why it can't link MFC lib Can an ...Show All

  • .NET Development ListView Fit Column Headers to View (no horizontal Scrollbar) and dynamic Resize

    I am desperately seeking an answer to this problem. I've built an extensive ListView and one finishing touch is to remove the horizontal scrollbar entirely, as it is not needed in my application. The width of each subitem in the listviewitems is irrelevant. I am building an email application and would like subject, sender, recipient, etc (7 headers in total) to fit within the ListView's view without the ability to resize beyond the container. If the user wishes to view the data under a column, I have the tooltip popup to display the remaining (non-visible) data. When a user resizes a column, the column next to the resize handle shou ...Show All

  • SQL Server executing a package from T-SQL

    Is it possible to execute a package in a trigger or stored procedure For most practical reasons, no. You could use xp_cmdshell to call DTEXEC which will execute a package. This will run your package synchronously, so doing this in a trigger would generally be a very bad idea, as this would block the transaction from completing during the execution. If trying to reference the data from the transaction that invoked the trigger then you will be blocked as well as this has not been committed yet. Long running transactions are generally a very bad idea. Another method would be to create schedule job th ...Show All

  • .NET Development Randomly GNE "General Network Error" after upgrade MSDE 2000 to Sql2005 Express

    I wish nice day, we have many, many bugs ( arround 10 errors messages from every user per week --- today 300 users using our application and up to end of May, 2006 we reinstal Sql 2000 MSDE -> 2005 Express next 750 users) from our application ( .NET 1.1, localDB on Sql2005 Express ) with exception bellow: ----------------------------------------------- General network error. Check your network documentation. -> ExecuteReader [.Net SqlClient Data Provider] | Call Stack | at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.Exe ...Show All

  • SQL Server Is anyone using C# and the SSIS Objects to Develop/Modify Packages?

    Anyone out there developing or modifying packages w/ C# and the SSIS objects that I can compare notes with Thanks! Hi Darren ... I've taken a look around SQLIS. Very helpful indeed! Do you have any examples of something as simple as the following, using C# and the object model: Source: SQL Server A, Table Foo Transformations: None Target SQL Server B, Table FooTwo The real trick with the above is that at runtime I won't know what the tables are. I need to work w/ a SQL String and the re-initializemetadata stuff. Looking for any help here. Thanks! ...Show All

  • Visual Studio Tools for Office Problems with deployment at end user

    Why doesnt this code work when the msi.file is installed on the enduser machine. Nothing happens, while when run as 'Debug' in VS development environment everything works. All this code does is displaying a messagebox when Outlook is started. The project is made with VSTO and nothing in the setup project is tampered with, ie keys and such are intact. Help please! in ThisApplication.cs: private void ThisApplication_Startup(object sender, System.EventArgs e) { MessageBox.Show("Frustration"); } in Installer.cs: public class Installer : System.Configuration.Install.Installer { public In ...Show All

  • .NET Development Variables in a sql command

    Hi, I am connecting to a database using the wizrds on visual studio.net(is that ADO ) but the problem I am having is a fairly easy one I think. I want to use a variable as my WHERE command in my sql statment. for example int Number1 = 1; SqlDataSource1.SelectCommand = "SELECT UserID FROM Users WHERE UserID = 'Number1'; I am postive that the UserID is an int value. The program compiles correctly but when I run the command it gives a run time error. Is it possible to do this or is it not possible in sql.   I am using c# by the way Any help would be great. Thanks D    &nbs ...Show All

©2008 Software Development Network