Hakan06's Q&A profile
Visual C# Delay an application
Hi, I'm trying to delay an application for a few minutes (5 seconds for example) without using Threads. Does anyone knows how it can be done Thanks. I recently got a simulation project to do, and i have to delay a for loop which is running for 200 times, i have to delay the looping for the user to see the event for every seconds.. i included a call to the pause() procedure inside the for loop which delays it T ...Show All
Visual C# How to Send an Email through C# 2005 using localhost
I want to send email through C# Windows Forms using localhost ...Show All
Windows Forms How can I draw outside the form?
Hi everyone I do face a new problem, I have a normal form, and a graphics object from the form's Paint(), and I am trying to draw something that will come on the top pf the form and little bit outside it I need the draw something  ...Show All
Smart Device Development Memory Card
Is there any way to make the Pocket PC or Smartphone Emulater think that it has a Memory Card. As this would help in testing the loading of programs from card. Thanks OK Sory found it. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=16297&SiteID=1 Thanks ...Show All
SQL Server Reporting Services 2005 : The report server cannot open a connection to the report server database
Hi, I am getting the following error whenever I try to open the reportserver 2005 default web page http://home/reportserver Reporting Services Error -------------------------------------------------------------------------------- The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help An error ...Show All
Visual Studio Cannot access a disposed object.
Hi, I'm working on package that implements a designer using VS 2005 with the Oct SDK. Lately I've been seeing the error "Cannot access a disposed object. Object name: 'DesignerFrame'." I've looked through all of my code and can't see anywhere that I'm allocating or disposing a 'DesignerFrame' Any ideas what kind of things might cause this error would be helpful. Thanks, Paul We need mor ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I can't display a textured model.
Hi! I have written a simple application using Directx9 with VB.Net 2003. All I want to do is to display a very simple model (rectangle) with a texture added to it. Unfortunately I can not do this properly. I can only get a black rectangle as a result (it is displayed at correct coordinates). Can anybody help me What is wrong Below you can find a sample of my code. I think, a bug is somewhere there. Dim BuforWierzcholkow As Ve ...Show All
Visual Studio Express Editions Wish to use text box to only allow numeric Data entry
I am creating a windows form with VB expressions How to I allow only text to be input into text box How do I allow only numeric data entered into textbox How do I place a "zero" in the textbox if there is no value for the user to input How do I allow for Currency How do I place "," seperators and "$" i.e $ 1,123,123.00 eg. Code: 'this is to create liabilites calculator Dim mort. as doubl ...Show All
.NET Development How to transfer file
I need transfer .net assembly and run it on remote machine. How can i do it Can i use only remoting methods or i have to use sockets. You can use either method. The remoting way is much easier to develop, configure and test, and it's performance is very nearly on a par with an asynchronous socket server. ...Show All
Visual C# Database connection Dilema
Hi I am working on an application with two main parts. The first part is the database I am connecting to and the second is an activeX control. I am also using SQL 2005 Express as my database server. The way I have incorperated the database into the app is by using a auto-generated dataset and table-adapter and then doing the rest of the coding myself. My app has to do a few simple queries and occationally write some information to the database. ...Show All
Windows Forms install: incorrect syntax near the keyword "ON"
Sounds like a registry problem. The message box posts this error two times in the box. It is at the very end of the install. I have winxpPro VS.Net release version .net framework 1.0 admin priveleges (member of Administrators) I have tried this as install for  ...Show All
Visual C++ Dynamically bind to a library and function
Within my .NET managed class instance called LibraryFunction i want it to be able to: 1. Dynamically load a given library given it is not already loaded. 2. Dynamically bind to a function/method within this library. 3. Call this function with a given set of parameters. The binding is made possible by instance variables like mLibName and mFunctionName. My current unmanaged class uses code like the following: FARPROC f = (FAR ...Show All
Windows Forms listview makes debuguer stop working
I have a listview that i added with VS.NET, but eventually I want to modify one of the images in the listview when an event handled like this happens rasClient1.DialStatus += new RasClient.DialStatusEventHandler(DialStatusChg); the problem is that when im in DialS ...Show All
.NET Development Can I write Profile.UserID from SqlDataSource1?
Quick question. New guy here, appologies if this is incredibly simple but I can't figure this out. Visual Studio 2005, C#, Web form. I have SqlDataSoruce1 that grabs a login name and password from a DB, if a match on button click, you go to page 2. As I do this, I write the value from the username and password text box to Profile.UserName and Profile.Password for later use... I want to write the UserID from the DB to Profile.UserID but it doesn' ...Show All
Windows Forms Executing system stored proc from vb.net app
I am trying to run a system stored procedure (SP_DETACH_DB) from vb.net application. I am getting the following error SP_DETACH_DB not allowed within multi-statement transaction. How can I fix this Thanx make sure there's no application using the da ...Show All
