wrightti's Q&A profile
Visual Studio Express Editions Program flow - order of execution.
As a real novice I am writing a small application to measure a persons reaction time by presenting a prompt on screen and then measuring how long before a key is pressed. My problem is understanding the program flow. When run the form is presented and then when the Start button is pressed there is a short, random delay and the prompt presented. The clock stops when any key is pressed (sub EndTimer) and the time presented - all as expected - b ...Show All
Smart Device Development Connection error in SQLServer CE
Hi, I'm trying to test a VB.net program which connects to my sqlserver CE database. I don't encounter errors while building the solution, but when it starts triggering the procedure via command button, i always encounter a "An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll". I can't find what's wrong in my code since i just copied it from one of the msdn technical documents. ...Show All
.NET Development VB6 and CCW's
Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham ...Show All
SQL Server sp_send_dbmail won't work using @query get information from temporary table
Hi, I am trying to send an email using sp_send_dbmail with @query geting information from a temporary table and I got a error message "Invalid object name #testTable". If I run the query alone (select * from #test), it works. If I remove the @query and @attach_query_result_as_file part, the code works too. Is it a bug in SQL 2005 Have any idea Here is my code. create table #Test ( Drive char ( 1 ), MB_Free int ) ...Show All
Visual Studio Express Editions How to Load URL into WebBrowser?
How can i load a page into my web browser control, i got an error on this program, do u have any sample code that loads a webpage into a webrowser control Thanks;) Hi, If you have an error, you should try and be specific about what it is & detail the actual error in your post so that others can help you with your problem. Anyway, if you are trying to navigate to a specific web page like Google ...Show All
Visual Studio 2008 (Pre-release) Making Trackbar in MediaElement
I wish Avalon Has a right help file. It is hard to figuar it out. I am making a sample program like Windows media player. How Can I change the position of the movie clip with progressive bar. I thought I can use "MediaElement.Player.Position" but it seems not working... Would you give an example code please This can be achieved by databinding a Slider's Value to the Position ...Show All
Visual C++ Please Help Me! Please...Please...!
Hi. I want design Line in a StaticControl.(or any function.like sin(x)) Please Help me. Nishes reply to this question previously will allow you to do a line on your form. If you want the line to follow a function like sin(x), then you need to write your own control, no built in control does this. ...Show All
.NET Development the System.Net.Mail ????
Hi, I wanted to ask about the System.Net.Mail. How to use this name space in Visual C++. I cannot seem to find it. It is available in VB and VC# but not in VC++. Best Wishes Anyway, thanks. Im working my way with the web.mail, which is somehow fine. You really saved my day. cheers :-) ...Show All
SQL Server Problems installing SQL Server 2005 SP 1
SQL Server installation fails with the message: "A recently applied update, KB913090 failed to install" The last executed task was: Integration Service The last installation message was: Checking for lock files via Windows installer sqlrun_tolls.msp It's not immediately obvious what went wrong. Please post a description of your configuration and a link to your SQL Server install logs. Thanks, Paul ...Show All
SQL Server Reporting Services Subscriptions - Help!
Hi, I have two questions regarding subscriptions in Report Services 2000. 1) Is there a way to view all the subscriptions in one centralised place. I know that you can view all your own subscriptions, but I did not create all of them. What I need is to be able to see all the subscriptions for all the reports without having to go into each report and see if it has subscriptions associated with it (we have about three hundred reports) ...Show All
.NET Development How to develop ASP.NET application?
Hi, all here, I am new to ASP.NET, would anyone here please guide me about basic steps for ASP.NET application in SQL Server 2005 Business Intelligence Development Studio Like how can I start the ASP.NET environement and its default namespaces for its supported languages (like C#, Visual Basic.Net etc.). Thanks a lot for any guidance and help. With best regards, ASP.NET questions are off topic here, try www.asp.net instead. ...Show All
SQL Server provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
Hi All, I am new to dotnet. I tried connecting to the database MS SQL Server 2000. I gave the code like, the one below, in form load event, SqlDataReader dr = null ; SqlConnection myConnection = new SqlConnection("Data Source=IP;Initial Catalog=name;User Id=uid;Password=pwd;"); myConnection.Open(); myConnection.Close(); But I could not connect. The error message highlights the line myConnection.Open() and ...Show All
SQL Server A question on Conversation timer persistence
I'd like to add code to a trigger to calculate the time to fire a message into a queue based on a field changing, and conversation timers seem like the way to go. My first question refers to this line from the BOL: "Calling BEGIN CONVERSATION TIMER on a conversation before the timer has expired sets the timeout to the new value." I think that in this trigger, I can simply begin a new conversation if the given field has changed t ...Show All
Visual C++ Struct tm to String
Hi, The function asctime convert a struct tm to char * . Is there any function converting a char * to struct tm Thank's. DelaySteam In general, you would need to extract the corresponding elements of struct tm from the char array. Kuphryn ...Show All
Architecture Reverse Engineer SQL 2005 with Visio 2003 Error
Hey everyone, I have an ODBC connection to my SQL 2005 database using the Native 2005 driver. When I try to reverse engineer in Visio, I get the following error: The currently selected Visio driver is not compatible with the data source. I've tried changing the default driver and datasource for the project. I've also searched for updates on MSDN and the Office websites. I'm using SP2 for Visio Professional 2003. Any suggestions ...Show All
