Dalmuti's Q&A profile
Microsoft ISV Community Center Forums Strange Error
I have an Access 2002 SP3 DB and on occasion it seems to corrupt and all forms are no longer accessable any 1 else had this problem i am unsure to what causes it so cant fix it. i open it and it reports a corrupt error offten after a change to some code has been made and saved i always test before before closing so i know it works fine then on next load it corrupts and the MDB file is reduced to only half its original size. any help or adv ...Show All
Visual C# DateTime
Hi. What I want to do is display the current time, or the current day in a MessageBox.Show method. Can someone tell me how to do this. I know it has something to do with the DateTime method. Thank you for any help provided. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdatetimememberstopic.asp ...Show All
Visual Studio Team System Slow VS 2005 performance
Hi, I am using VS 2005 for building a project. Edition of Vs 2005 is developer edition.The project is under source control. Few days back the source control was locked bacause of code freeze. Now i am not able to check in and out any files. I am working offline on this project now. When i open this project in VS 2005 with option " Tempororily work offline in disconnected mode" i found that vs 2005 has become very slow. When i try ...Show All
Visual Studio Team System TFS December CTP and SQL 2005 RTM
Has anyone tried to install the TFS December using a Single Server setup with SQL 2005 RTM I had problem during the setup and the process was interrupted. The error is 0x80004005: Failed to install databases. The TFSSetup account I use is part of the sysadmin of the SQL server. Thanks in advance for your help. Was this a fresh install That is, was SQL Server & Team Foundation Server ...Show All
Windows Forms Controlling font width and height independently
I write on a form using ‘Drawstring’. I want the text to fill out the form, so when the user resizes the form, the text is resized. So if the form is long and narrow, the font width will be wide and the font height will be narrow. How can this be achieved Thanks, The ScaleTransform method can do what I want so it was more simple than I had hoped for. ...Show All
.NET Development DataLists and updating multiple tables at once
Hello, I'm new to ASP.NET. I'm building a inventory Web interface which will allow users to view our branch's PC, Laptop, Software etc. inventory. I want to also allow them to edit varoius displayed fields. I'm using a "DataList" and displaying the data in a nice List/Report type format rather than table style. My Question: In order to make the data display nicely I access a "view"/"query" in an Access DB. I suppose I could produce the quer ...Show All
SQL Server Warnings that I don't understand when building a custom component
Hi, I have a custom component that compiles just fine on one environment. I copied and pasted the code to another environment and now I'm getting compilation warnings: Warning 1 CA1014 : Microsoft.Design : '*******.Seer.Ssis.Common' should be marked with CLSCompliantAttribute and its value should be true. *******.Seer.Ssis.Common Warning 2 CA1705 : Microsoft.Naming : Correct the capitalization of type name 'PPDMDataLine ...Show All
Visual C# VS2005 Beta2 "Preview Data" Window Returns Query Results, but my code does not return results
I'm stumped... I'm using the Beta2 of Visual Studio 2005 When I run a query in "Preview Data" by right clicking on the BindingSource or the dataTableAdapter i get results returned from the query, but when I use the following code in a dataGridView, my code (I'm using the same dataTableAdapter, dataSet, DataTable and FillBy method as in the "Preview Data" window) tells me that no records were returned. dataGridView.DataSource = dataTa ...Show All
Smart Device Development How to convert a WM5.0 Project to PPC 2003 project
Hi I have a VS2005 targeting WM5.0 device project How could I chanage this to PPC 2003 project Is there any auto wizard to do or must I re-create another project and copy file manually Thanks for help. Stefen Huynh You can change project's target via Project/Change target platform menu. Recreating project and adding existing files to it is another option. ...Show All
SQL Server SqlCePeplication.Synchronize
I am attempting to follow the example from VB.NET 2005 on synchronizing and SQL Database and an SQL Mobile 2005 db. I have verified that the PALM device (Treo running WM 5) when the device is connected to my desk top by using IE on the Palm to browse to the shared Folder I set up with IIS and the Configuration Web Synchronization Wizard. The error I get is "An incorrect or unsupported HTTP function call was made." and I have not ...Show All
Windows Forms problems after closing an application
Hello, I've programmed an application in C++ which communicates with another PC over TCP/IP. Sometimes the application hangs up and I have to close this application. But the connection over TCP/IP is still active and won't be closed. My question is: How can I do some stuff, like closing the TCP/IP-connection to the other PC when the program is being in closed in the taskmanager Any suggestions Best regards, Winston ...Show All
Software Development for Windows Vista How to make dxsdk_sum2004 compatable to vc++6
Hi All, I am using dxsdk_sum2004 libs and header in my project. I am using vc++6. I am getting error in lines like typedef interface ICreateDevEnum ICreateDevEnum; I have installed Service Pack 5 for Visual Studio 6, Visual C++ 6.0 Processor Pack dxsdk_sum2004_extras.exe, and still iam getting error. Please anybody help me to solve this problem. Regards Arindam A yahoo search turne ...Show All
Visual Studio Team System Unit testing a stored-procedure DAL
Hi there, I work in the BI realm producing reports with Reporting Services 2005 hitting multiple SQL 2000/2005 instances. The reports I write solely use stored procedures to access the databases (all reads) and I would like to unit test my data access layer. Now, data driven tests seem to get me most of the way there, but as far as I see it I would have to write a bunch of ADO.NET code to test my stored procedures. I'd lik ...Show All
Software Development for Windows Vista InkCanvas - CPU Hungry
I have a UI with an InkCanvas viewed through a VisualBrush. With only a few strokes on the canvas, CPU utilization approaches 60%. When I set myInkCanvas.Visibility = Visibility.Hidden then CPU utilization drops. I may be able to make a small mockup that will demonstrate the behavior, but I would hope it could be solved without that. This is a snapshot of the stack from the offending thread (which I can't make heads or tails out of): nto ...Show All
Visual C# passing string variable from form1 to form2
How can i pass a string that i got in form1 to form2. Thanks.. hi i think u can pass the string as a parameter in the contsructor of form2 class Form2 { public Form2(string myString) { } } or u can make a refernce for the Form1 parameters like this class Form1 { public string myString; Form2 frm=new Form2(this); frm.Show(); } class Form2 { string getString; Form2(Form1 c) { getString=c.myString; } } salamo 3lakoem ...Show All
