Anonymous111111111111111's Q&A profile
.NET Development windows firewall
Is it possible to check the status of the windows-firewall (activ or inactive) Thanks. regards Karsten Please see this forums post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=175340&SiteID=1 and the associated blog post: http://blogs.msdn.com/joncole/archive/2005/12/06/500770.aspx ...Show All
Visual Studio Visual Studio 2005 Beta 2 setup fails immediately
Hi, I'm installing Visual Studio 2005 Team Suite from the Beta 2 DVD handed out at one of the recent MEDC events. I have: Windows XP Pro + SP2, 1.6Ghz, 256MB RAM, 4Gb disk space free. No problem with the DVD drive that I am aware of. No previous betas installed. I have VS 2003, eVC++4.0, Embedded Visual Tools 3.0 installed. Following error appears: AppName: setup.exe AppVer: 8.0.50215.44 ModName: setup.exe ModVer: 8.0.50215.44 Offset: 00029002 Any ideas I can send the full error log if you give me an address. Regards, Ade W You could try running FileMon or RegMon and see if they throw up any erro ...Show All
Windows Forms How to Open C# .exe with a Parameter
I've made a simple C# exe which I open via a .bat file in the event a user tries to open a second instance of an application on their workstation. The exe tells the user thay already have an instance open. I would like to pass a parameter to the .exe (the user's ID). Now I open the .exe from the batch file simply with the line: kcec.exe Is there a way I can open it passing a parameter, say : kcec.exe ("userabc") Many thanks Mike Thomas kcec.exe agr1 age2 agr3 "agr 4" the result will be in String []args; args = Environment.GetCommandLineArgs(); ...Show All
SQL Server Teradata, SSIS OLE DB Source error (0x80040E21)
I am trying to use SSIS to pull data from teradata to SQL2005. 1. When setup ole db source, firstly i setup the connection manager. I tested the connection to teradata, it prompted Okay without problem. 2. then, there are 4 types of data access mode for selection. If I select view directly, it works fine for copy specific view directly. But if I select SQL command(or from variable), it will prompt an error msg as below Error at Data Flow Task [Source - Testing]: An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "OLE DB Provider for Teradata" Hresult: 0x80040E21 De ...Show All
Visual Studio Express Editions unable to update data in a database
Hello! I am using VC#2005 Express and trying to work all off the video tutorials. When I started to work on Lesson09, I encountered a problem: I follow instructions from video lesson, but when I try to update data in a database, I receive an error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. I use default settings for tableaddapter and dataset, in a same way as in video, and here is the code private void button1_Click( object sender, EventArgs e) { bindingSource1.EndEdit(); int result = 0; result = customerTableAdapter1.Update(myCompanyData ...Show All
Smart Device Development Slow insert into a dataset - how can I accelerate?
I'm inserting into a dataset, and the insert is very slow. Is there anyway I can accelerate this Thanks! Can you please post some sample code on how you are doing this so we can offer recommendations Thanks. ...Show All
.NET Development Using stored procedure return value with table adapter
I am trying to run a stored procedure that has a return value with a table adapter. The stored procedure looks like this [code] ALTER PROCEDURE dbo.StoredProcedureAddCustomer @Email nvarchar (100) = NULL , @FirstName nvarchar (100) = NULL , @LastName nvarchar (100) = NULL , @Phone nvarchar (25) = NULL , @AccountNumber int = NULL AS BEGIN Insert into Customer (CustomerGUID, CustomerLevelID,RegisterDate, Email, FirstName, LastName, Phone, AccountNumber, OkToEmail) values ( NEWID (),1, GETDATE (),@Email, @FirstName,@LastName, @Phone, @AccountNumber, 0) Return @@Identity ...Show All
Visual Basic Filling text box with KeyUp strokes
I'm trying to get the keyboard letter values to appear in a textbox as the user types, but I get some other values that don't make sense. Here's my code: Private Sub txtRootPath_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtRootPath.KeyUp Dim newKey As String Dim sPath As String = txtRootPath.Text & e.KeyCode.ToString lblPath.Text = Path.Combine(sPath, txtHTMLFileName.Text) End Sub If I type a slash (\) it enters: Oempipe. How can I display the exact characters that are being typed for human readability, and not the keyboard ascii values than ...Show All
Visual FoxPro minimize and maximize buttons on Report Designer
Can you remove maximize buttons on Report Designer in Visual Foxpro 6.0 Please help. Thanks in advance, Sanj. Hi Sanj, I am not sure what to tell you. Can you provide some more details like when you say you can't go to the next page in the report what do you mean Do you get an error or is there another problem It would probably more productive if you put together a simple repro and sent it to me in email Cameron Slade VS Data Test Manager ...Show All
Visual C++ Hello World Program Problems! (Sorry I'm New To This!)
When I write this program: #include <iostream> using namespace std; int main () { cout << "Hello World!" ; return 0; } I receive this error message when I try to build it: 1>c:\program files\microsoft visual studio 8\vc\crt\src\crtdefs.h(36) : fatal error C1189: #error : ERROR: Use of C runtime library internal header file. Can anyone offer me any advice on how I can solve this I have searched everywhere. Looks like your include directories are pointing to the wrong directories. This particular header should not be used from us ...Show All
Visual Studio 2008 (Pre-release) how to set style into button?
how to set style into button please provide sample best. for example implement a 3D button. thanks. http://windowssdk.msdn.microsoft.com/library/default.asp url=/Search/default.aspx qu=button+how+to ...Show All
Windows Forms i need help with custom controls please
hi i've created a custom control and i want to add sevral other custom controls on it so i've add them to its ControlCollection, but they wont render themself to the parent control ClientArea for some reason.. what am i doing wrong (sorry 'bout the bad english... it's not my mother language) I am not sure what you mean,but perhaps try and use the Refresh() method on the user control,which causes repainting of all the constituent controls as well.You can also look at this link http://blogs.msdn.com/subhagpo/archive/2005/02/22/378098.aspx ...Show All
Visual C++ Why isn't this call working properly?
I'm building a project for myself really; however, this problem is sticking me in the side. Can anyone tell me why this particular problem isn't working #include "pl_en_stats.h" // in *.cpp file for icPlayerInformation_Data struct usage. // in *.h file for Class definition. class LoadGameData { private: char PlayerInformation; icPlayerInformation_Data* pl_statistics; public: LoadGameData(); bool load_SaveData_Open(); void load_SaveData_Variables( icPlayerInformation_Data &pl_Statistics ); bool load_SaveData_Close(); ~LoadGameData(); }; ==PathRemoved==(24) : error C2143: syntax error : missing ';' befor ...Show All
Windows Forms Manipulating the Form's system menu
Hi all, I want to add menu commands to the system menu (the menu that opens under the controlbox). I've done this by declaring external Win32Api calls: [DllImport("user32.dll")] static extern int GetSystemMenu(int hWnd, bool bRevert); [DllImport("user32.dll", CharSet=CharSet.Unicode)] static extern bool AppendMenu(int hMenu, uint wFlags, uint wIDNewItem, string lpNewItem); and then calling these (as& ...Show All
SQL Server Joining two fields in a query
I am trying to join two fields in a query in SQL 2000. For example. Update myTable SET field_1 = @field_1_value , field_2 = @field_2_value , field_3 = @field_1_value + ' x ' + field_2_value Is this even possible. I want the user to input values for fields 1 and 2, then in the background combine the two and insert that value in field 3. Thanks in advance, Scotty_C that'll work! there's just a typo for the @field_2_value Update myTable SET field_1 = @field_1_value , field_2 = @field_2_value , field_3 = @field_1_value + ' x ' + @ field_2_value ...Show All
