Haider Sabri's Q&A profile
Visual C# Can this be done?
My question is: how do I change the color of a progress bar By color I mean that intense green used to draw the blocks of the bar. I found a property in .NET Framework 1.1 called ProgressBarColor that is supposed to do that, but I did not find it in .NET 2.0. Did the programmers overlook it on purpose or by mistake Many thanks Michel, I think I got it. I suspected from the beginning that the effort was not w ...Show All
Windows Forms Overwriting BindingNavigator AddNew
In a form, I want particular things to happen on the form when the user presses the AddNew button in the BindingNavigator . So I want to call my own code in the bindingNavigatorAddNewItem.Click. I put myBindingSource.AddNew in the bindingNavigatorAddNewItem_Click, followed by additional code. When I click the AddNew button I immediately get an error telling me that one of the columns in the table can't be null. Joe Stegman said " The ...Show All
SQL Server Multi Value Parameters
Hi, Can anyone tell me how to pass a data for a multivalue parameter through the URL. Thanks In Advance Regards Raja Annamalai S To set a parameter named "Name1" to value1 and value 2, use this format: http://localhost/reportserver /MyReport&Name1=value1&Name1=value2 ...Show All
Visual Studio Tools for Office Unable to move outlook add in code to other machine
Hi, I'm trying to move my code to another machine so I can work from there too. But the add in does not compile once moved. It gives me errors like not reconizing thisApplication class or the declared variable outAddIn of OutlookAddin Type. Also, I run the msi on my machine for the registry entries but it didn't fixed either. Does any body know how to fix it Best Regards Hi Jhon, I could fix the application, It was re ...Show All
Windows Forms cell on a datagrid
plz someone could help me how to choose the content of a cell in a datagrid is it such a Me.datagrid............. thx Dim CM as currencymanager = ctype(me.bindingcontext(me.datagrid1.datasource,me.datagrid1.datamember),currencymanager) dim DRV as datarowview = ctype(cm.current,datarow ...Show All
Visual C++ Problem using argv in main
Hello there, I am pretty new at this C/C++ I am writing a console program, and from what I read here, and around the internet is that the argv array in main() is supposed to hold any arguments entered on the command line... argv[0] is the name of the program, and argv[1] to argc is the arguments. So if I were to write a program that opened a file in binary mode. To run it I would type executable and then the file I want to open and oper ...Show All
Visual Studio Express Editions How do I use the MSDN documents.
Hello, I just installed VC++ Express along with the MSDN option. However I don't know how to access it. Where is it saved on my computer, and how do i access it Also I was about to install the platform SDK but was unsure which one do download. Apparently the one that is linked to on the VC++ Express site has a newer version 5.2.3790.2075.51.PlatformSDK_Svr2003R2_rtm.img, the older one is 5.2.3790.1830.15.PlatformSDK_Svr2003SP1_rtm.img, which one ...Show All
.NET Development IComponent
I can't seem to find any good examples using IComponent that explain exactly how to use it. Does anyone have any good pointers to soemwhere that shows good ways to use it from the help. . . "This interface supports the .NET Framework infrastructure and is not intended to be used directly from your code. " If you need I component, you should just inherit from Component, and override any methods you want to change. ...Show All
SQL Server SSIS Extension Catalog
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
Visual Basic Insert from Form with textbox for details
Hello, I want to insert data from a form with textboxes for entry of the information. I have a dataset,bindingsource and table adapter on the form and the text boxes are bound. So far I have managed to do a "manual" insert using the following code Me .HospitalTableAdapter.Insert( "1" , Me .NameTextBox.Text, Me .Address1TextBox.Text, Me .Address2TextBox.Text, Me .Address3TextBox.Text, Me .CountyTextBox.Text, Me . ...Show All
SQL Server SSIS Conditional Flow?
Hi, In the new SSIS how can i implement a conditional workflow without having a base task Imagine i have a FOREACH Loop based on a resultset and if a certain column have True i want to execute a certain task inside the loop and if is false i want to execute another one... How can i achieve this Best Regards, Luis Simoes Put an empty sequence container in front of the tassk you want to execute and put an expression on the precedence contra ...Show All
Visual Studio 2008 (Pre-release) Problem with P2P
Hello, I am trying to run the "PeerTcp" sample on a fresh XP SP2 install. I installed and started the P2P windows service. However, when running the first receiver, I get the following exception. Any idea what could cause this Thanks System.Net.Sockets.SocketException was unhandled Message="Unknown error (0x2ced)" Source="System.ServiceModel" ErrorCode=11501 NativeErrorCode=11501 StackTrac ...Show All
.NET Development FtpWebRequest question
Can anybody please help me I am trying to write a code to uplode or delete file on ftp server. A problem is that I don't know how to set up Method property for ftpwebrequest class, so sample code like this would work. Dim serverUri As String = "ftp://ftp.contoso.com/file.txt" Dim request As FtpWebRequest = CType(WebRequest.Create(serverUri), FtpWebRequest) request.Method = WebRequestMethods.Ftp.DeleteFile request.EnableSsl = Tr ...Show All
Visual FoxPro Encryption Questions
I have written two Functions one for encryption and one for Decryption (using _crypt.vcx), I would like to encrypt all data in my app . I have a few Questions… 1) When creating my tables what do I use for datatypes 2) What about indexing Do I index on Decypt(field1). 3) What about SQL Do I do Select Decypt(field1), Decypt(field2)… 4) What about select * . Is it supposed to be this big of a pain or am I just going ...Show All
Visual Studio How do you Edit a Tracepoint in VS 2005?
How do you Edit a Tracepoint in VS 2005 Clicking on it deletes the tracepoint... I note for the record that if your cursor is beyond the end of the tracepointed statement, that seleting "When Hit" will do nothing. This is confusing - and maybe even a bug - because when the cursor is BEFORE the tracepointed statement, the right click displays the "Insert..." context menu vs. the edit an existing menu. ...Show All
