enak's Q&A profile
Visual C# Well Done !!!
Well Done Microsoft!!! I think The graphics class is the most iritaiting class of all, when u need an object of it you have to do 30 other things to get an graphics object, no offence but if u wanted to make the hardest thing to draw something u really done it, and i`m not talking about Paint Event Why didn`t let the constructor of the graphics class public (maybe u did have your reasons, mabe it was the only way, but heck man u are the MICRSO ...Show All
Visual Basic Registry Checker
I have problem on my program. How do i know if the registry subkey exist using Visual Basic 2005. I have here a code in Visual Basic 6.0, I don't know how use it in Visual Basic 2005. Can you please help me Example: '============================================================= ' This is a Visual Basic 6.0 code example '============================================================= Public Function DoesKeyExist( ByVal lngRootKe ...Show All
Visual C# Can you access hosting provider from within VS?
I have a hosting provider (hosting.com) that offers ASP.net accessability. I am able to connect to my database at the hosting provider from within SQL Server 2005 Management Studio, but so far I am not able to do the same things from within Visual Studio. Maybe I don't understand how things are supposed to work. That is, from within SQL Server Management Studio, when I select Connect to server, I get a dialog where I type in the Server T ...Show All
Visual Studio What is the xmlns attribute for?
Does anyone know what the xml attribute is for and why <Project DefaultTargets="Build" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> Hi Sean, This is the XML namespace of all MSBuild-recognized XML elements (currently the only namespace that's allowed in MSBuild projects). It's a required attribute for all MSBuild 2005 projects. We did it to be a good XML citizen and enable several relat ...Show All
SQL Server ForEach Config validation errors
I have a Config file for a Data Flow that is utilizing a Configuration file. I have specified in the Configuration file to capture the Directory and FileSpec for the ForEach Enumeration. When I open the package, I get the following error: Warning 1 Warning loading ISOTypeLoss.dtsx: The package path referenced an object that cannot be found: "\Package\Foreach TC03 File.ForEachEnumerator.Properties[Directory]". This occurs when an attem ...Show All
Visual Studio Team System team foundation server installation error
hi I tried to install TFS using the instructions on the final stage (server install) i get this error message: MSI (s) (9C!08) [11:41:41:640]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28938.TFServerStatusValidator: Calling the Team Foundation Server Registration Web service failed with 401 HTTP Unauthorized status. Try installing again. If the problem persists, verify that Internet Information Servi ...Show All
Microsoft ISV Community Center Forums Transfering data from a textbox in one file to a textbox in another file
Hello, I need to be able to transfer text data from an ActiveX control (a textbox) in one file to an ActiveX control in another file. Currently, I can move the textbox data to the spreadsheet in VBA as follows: Range("k5").Value = TextBox1.Value and then I tie the TextBox LinkedCell property in the secondary file to the cell in the primary file: '[primaryfile.xls]'Worksheet1'!$K$5 I would like to be able to do this in one step ...Show All
Windows Forms Flickering Problem with Windows Form containing DataGridView
I'm writing a User control where i'm displaying a windows form on click of a button and the Form contains a DataGridView. This dataGridview would typically contain 4000-5000 no of records. Now when i'm resizing the Form i can see the VERY NOTICIBLE flickering effect. How can i reduce it Any suggestions...... [NOTE] I have set the DOCK property of the DataGridView to FILL so that on resize of the FORM the dataGrid should be resized to cover the ...Show All
Smart Device Development sql connection error
I am getting following error: Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Adnan\My Documents\Visual Studio 2005\Projects\Mobile5\Mobile5\Form1.cs 20 4 Mobile5 the line which caused problem is System.Data.SqlServerCe ...Show All
Software Development for Windows Vista DTCGetTransactionManagerEx error
Hi everybody, during several tests with MSDTC I've received the following couple of errors calling DTCGetTransactionManagerEx API, MSDTC was unable to read its configuration A connection with the transaction manager was lost Can someone suggest me a way to better understand and solve these problems Thank in advance for help FabrizioC Hi Fabrizio, Can you explain what is your config ...Show All
Visual Basic Download files from lists
HI all, I coded a program that can download file from the lists, but i seem that I run slowly and did not show timer and wait function. pls hlp me out in details. Here are the codes: Dim i, start1, start2 As Integer Dim extract1, extract2 As String 'change www.yoursite.com to a web page and what you want to download. Fo ...Show All
SQL Server how to get the status of update sucessing?
Dear Experts, I have a stored procudure which can be successful called from application and update against tables, the question is how do I get the status which can indicate how many records were updated or no any record was updated in the action Thanks in advance. Hi, @@ERROR returns the error number for the last T-SQL statement executed while @@ROWCOUNT returns the number of rows affected by the last SQL statement. ...Show All
Visual C++ PurifyPlus reports FMM in STL of VC++ 7.1
Hi all, I run my VC++ 7.1 generated dll under PurifyPlus' control. I get a whole slew of FMM (free memory mismatch) errors for memory chunks allocated by the Microsoft STL. Unfortunately I haven't got the stack trace available right now but I could regenerate it if it's necessary. One example code snippet looks like this (details omitted): class ComponentFactoryBox { ...Show All
Visual Studio Express Editions Basic help for dummies, Please!
I've just started my 16 lessons in Visual Basic Express 2005 and I'm learning my first programming since old GFA Basic. But my goal doesn't seem to be part of the lesson plan, and that is to simply send "H1carriagereturn" to com2 at 4800 N81. I've tried the code snippets, (probably don't know how to use them), and looked at examples of long serial port programs, (don't understand anything about them). I've tried the simple ...Show All
Visual Basic send mail
Hi, i have problem in writing send mail codes. can someone pls help me regarding it i have written code to send mails but somehow there are errors. i have attach my codes below. when i click on the send button, an error message prompt out saying that "An Unhandled exception of type 'System.nullReferenceException' occured in testingMail.exe. Additional information: object reference not set to an instance of an object." Private ...Show All
