Tim Dallmann's Q&A profile
Visual Studio 2008 (Pre-release) Does new Orcas CTP have anything new in it for WPF?
I see the March CTP for Orcas is out and it includes WPF this time. Does this CTP just include Cider as we have it in the November CTP extensions or does it include anything new. I am currently developing on VS2005 with Nov CTP extensions on it, should I move up to the March CTP Do some of the issues with Cider get resolved Has anyone tried to install March CTP in Vista When it starts to install it stops with an error at the first step (the Microsoft Web Designer Tools). ...Show All
SQL Server FileGrowth changes after the execution of DBCC SHRINKDATABASE
Using sp_helpfile to my database (SQL Server 2005,SP1) I get the following results Data File size=5103616 KB, maxsize=Unlimited, growth=204800 KB Log File size=504 KB, maxsize=Unlimited, growth=204800 KB I execute a maintenance plan having only a Shrink Database Task . This task produces the following t-sql USE [myDB] GO DBCC SHRINKDATABASE(N'myDB', 10, TRUNCATEONLY) Now, executing sp_helpfile I get the same result but if i restart sql server I realize that the Data file's growth changes to growth=25600% (there is no other action or job using my Database) What could cause this Thanks in advance I've just learned this is a known bug. http://connect.microsoft.com/SQLServer/fee ...Show All
Visual Studio Express Editions How to create a event handler?
If I have an option.For example: Reading.Stopping() -> C# tells me that this is a event handler. How I can use it like Mouse_Over I hope you understand me... soryy. this.Reading.Stopping += new System.EventHandler(this.reading_stopping) error: "Not overload for...." ...Show All
SQL Server SQL Task - Output Parameter fails using strings.
Scenario: Using Execute SQL Task in SSIS. Connection Type: Ado.Net IsQueryStoredProcedure: True SqlStatement: [spAdoNetParamTest] I trying to return a output string from a stored procedure and place the value in a package level variable. I am able to do this with other data types. See sample SP below. However, the task fails when trying to return a string with an error. Does anyone know how to set the size property for a string parameter Here is the error: Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "[spAdoNetParamTest]" failed with the following error: "String[0]: the Size property has an invalid size of 0.". Possible failure reasons: Problems with the query, "ResultSet" pr ...Show All
Visual Studio Express Editions i need help
Hi, I'm a great beginner with Visual Basic. Is it a good idea to start with Visual Basic Express 2005 How can I learn it step by step Thanks for all! Hi Badou, Visual Basic Express was designed for beginners, so it's great place to start... and it's free. Download it and work through the lessons in the Visual Basic Guided Tour ( http://msdn2.microsoft.com/en-us/library/90h82b3x.aspx ) - once you have finished those you will have a good idea if it's for you. If you need additional help, this forum is a great place to get it. Steve Hoag Visual Basic Express ...Show All
Smart Device Development WSAGetLasError() = 120
Hello everyone. I'm trying make my first program using bluetooth in Visual Studio 2005 for SmartDevices. Well, I'm following the example msdn http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50concreatingconnectionusingwinsockextensions.asp, but when I run my application this show me a error a moment create socket, in other words, the function WSAGetLastError return a error, but the value es 120. I did reviewed, again, MSDN Library and I don't find any code error with this value. I show you a part my code: Headers: #include <windows.h> #include <winsock2.h> #include <bt_api.h> ... void CWhateverDlg::OnBnClickedButton2() { // TODO: Add your control notification handler code here WSADAT ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do you pronounce XNA?
Is it X-N-A or is it Xee-na I think the answer depends on how badly one wants to get punched in the head by his or her fellow developers... :P Since I value my cranium, I tend to stick with X-N-A. But if you're looking to raise the ire of your buddies, don't hesitate to go with Xena occasionally. :) ...Show All
.NET Development RFID Reader Project
Hello, I'm currently working on a project which involves a serial port RFID Reader. I have connected the Reader to COM2 of my PC and i'm trying to get the signals from the RFID Tags. I'm using Visual C# and SerialPort class. The problem is that i can't read or write to the port. I even tried to write something to the port using port.Writeline("string") and then read it with Readline() but it seems that nothing is written and nothing can be read. When i set the RtsEnable to TRUE the BytesToRead property changed from 0 to 9 no matter what i did and still i couldn't read anything. I also wanted to ask you if you have any code samples to send me or if any of you has written a similar program that works. I need to fix t ...Show All
Visual C++ SmartBridge Alerts
I am receiving this: The Procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library PSAPI.DLL. I do not have any experience, could I get help to find this "file" This is a duplicate thread. Xavier, I replied to your same question here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=407038&SiteID=1 Locking. ...Show All
.NET Development Object must implement IConvertable
Object must implement IConvertable MS Data Access Application Block returns the subject error when passing more than one parameter to a stored procedure.Does anyone know a work-around this problem for C# Thanks in advance hello There is no sqlDbType.ShortInt type in sql types so it is not possible for me to change the type.Give me some other way to solve this problem. Thanks ...Show All
Software Development for Windows Vista Determine if WorkFlow is loaded.
Hey All, I'm trying to persist a workflow when my application closes unexpectedly. I have the SqlWorkflowPersistenceService running just fine. The frmMain_FormClosing works if the workflow is running, but fails if it has already completed. What should I be testing to see if the workFlowInstance is competed, or still running Eric AutoResetEvent m_WaitHandle; WorkflowInstance m_WorkflowInstance; private void btnStartWorkFlow_Click(object sender, EventArgs e) { Thread tl = new Thread(StartWorkFlow); tl.Start(); } private void StartWorkFlow() { using (WorkflowRuntime workflowRuntime = new WorkflowRuntime()) { m_WaitHandle = new AutoResetEvent(false); workflowRuntime.AddServic ...Show All
Visual C++ Cannot run in debug mode
Hi, I am a person with a very basic knowledge of C++. I'm using Visual C++ 2005 express edition and installed Microsoft PSDK on top of it. My programs are running fine but when I try to debug, there are errrors. The same is happening with all the projects. Here is a simple code example: #include<iostream> #include<conio.h> using namespace std; int main() { cout<<"Hello World!!!"<<endl; cout<<"This is a test program..."<<endl; //Breakpoint here cout<<"Goodbye..."<<endl; _getch(); return 0; } After setting a breakpoint, when I run the code in debug mode (F5), then the breakpoint is not hit and execution of program goes on. The breakpoint b ...Show All
SQL Server How to group values in a pie chart?
Assume I have a pie chart whose Value: is Internet Sales Amount and Category group: is Product Subcategroy . Suppose I have 5 segments(slices) with the value 200,150,80,50,and 40. Now, here is the question; I want to aggregate those values that are less than 100 (in this case the last three values: 80+50+40 = 170) and put the sum(170) in one segment, so that in the new pie chart we will have only 3 segments with the value 200,250, and 170. Any idea is appreciated. Is there any solution for this scenario Pls. somebody say something. ...Show All
Software Development for Windows Vista Setting Region of Form w/ Glass Disables Glass
If I have a standard form in Visual Studio, and I extend the glass into the client area per the DWM api calls, this works fine; the problem is that if I now assign the region of the form, the entire glass theming is disabled, and looks to be more of a 'classic' view (with portions of the title area missing). Has anyone come across this issues Below is just a quick hack sample that I put together to make sure that it wasn't just something that I was doing wrong, but I can definitely reproduce this consistently. I'm running VS2005 RTM on Vista RC2. I have yet to install SP1 Beta, which I'm going to do, and I'll post if that resolves the problem. The various API calls are defined in "VistaApis", which contain Margins and DwmExtend ...Show All
SQL Server SS2005 re-download
I downloaded the DVD image to a PC and the DVD drive fails. Now, when I try to download the executable for install instead, nothing downloads. Is SQL SVR 2005 eval limited to one download I doubt it. I would suggest emptying your temporary internet files and trying again. In what way has your DVD drive failed. Is that your physical drive If you download the DVD image you can use a image reader to read the image rather than creating a DVD i.e. Daemon tools http://www.daemon-tools.cc/ ...Show All
