TomHL's Q&A profile
Visual Studio Express Editions Repainting of graphics in VB 2005 Express Ed.
How do I invoke a paint event to show a refresh of a XY-graph in a PictureBox The graph should show the result of the recalculation of one hundred X-Y points (stored in an array), after the input data for the calcs are changed. Input is done with user control based on Horizontal Scrollbar. At present the graph is only made once after loading with default data. "Dim e as New PaintEventArgs(graphics, clipRect)" does not work because "Dim graphics as Graphics" gives empty graphics object. First, I would suggest that you not use a picturebox as a canvas to draw a graph. Especially, one ...Show All
Visual C# Object Type Members in Reflection
I am accessing a webservices from multiple webservers. Even though the webservices are identical, the wsdl is downloaded during runtime, the proxy class is generated and compiled programmatically. Then I use reflection to generate an Instance of a complex data type that the webservice provides. The a method is invoked an a complex data type is return of type object. However, if I call object.getType() it return the proper complex data type. I would like to access the member variable inthe complex data type. How would I do that ...Show All
Smart Device Development .NET CF 3.0 ?
I see the WinFX is not getting wrapped as .NET 3.0. Is there any similar information on how this might affect the Compact version ...Show All
Visual Studio Team System Error 32000 During Installation of TFS Beta 2
I've done some searching but can't find a resolution for this issue yet. I've tried uninstalling ADAM, rebooting, and restarting the install. No go. During the installation of TFS, I get the following error: "Error 32000. The commandline "(temp)\getadminport.exe /vstf" returned non-zero value: 1" where "temp" is my local user's temp folder. When I run getadminport.exe thru the command line myself, I see this: Setting NTAuthenticationProviders for VSTFWeb... Searching VSTFWeb IIS://localhost/w3svc/1 ==> Default Web Site IIS://localhost/w3svc/1253343209 ==> DirectServices IIS://localhost/w3svc/1958305279 ==> *company name here* II ...Show All
Visual Studio 2008 (Pre-release) Where to find the old EndpointListeners???
I can't seem to find the EndpointListeners from the January CTP foreach (EndpointListener l in sHost.EndpointListeners) use foreach (ChannelDispatcher c in sHost.ChannelDispatchers) c.Listener ..... ...Show All
SQL Server Exporting data from a merge join from one data flow to another
Hi, Does anyone know if it is possible to point data that underwent the "merge join" transformation (in one data flow) to the following data flow I don't want to recreate all that merging, sorting and calling the same sources again in the following data flow if the data that I am using exists in the previous data flow. The merged data is simply too big to export to an excel file, so does anyone have any ideas Thanks! What format can the "Raw Files" be in (excel, word, notepad, etc) or is it a .raw extension I'm not quite sure how to go about creating a file to use this type..... ...Show All
Windows Forms How to specify columns
If you bind a datatable that has 10 columns and you only want to display 2 specific columns out of the 10 - how do you inform the datagrid the names of those two specific columns Sometimes the differences between the web controls and the windows controls drive me nuts... Thanks! While I was waiting for the message to be approved -&nb ...Show All
Visual Studio 2008 (Pre-release) SOAP Headers
Hi, In classic web services I could define services like this: [ WebMethod ] [ SoapHeader ( "SessionHeader" , Direction = SoapHeaderDirection .Out)] public bool Logon( string user, string password) To achieve the same thing (including the SOAP header) with WCF, it would appear that I have to do this: [OperationContract] LogonResponse Logon(LogonRequest request); As such I have to define LogonResponse and LogonRequest myself, which is easy but a little tedious. It also imposes on the way the service is used at the client. Similarly, I used to be able to do this: [ WebMethod ] [ SoapHeader ( "SessionHea ...Show All
Visual Basic ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relationships are drawn. Instructions are to click on this and do that. One creates table adapters and and dataadapers and with these apparoaches everything seems quite removed from what really happening. Al ...Show All
SQL Server Cannot find publication wizard
Hello Guyz Can any one help me plzz, Im using sql server 2005 which came with visual studio, and when i wanted to create a publication using sql server management studio. But i could not find the publication folder in the replication folder under my database. Plzz help me guyz Its not there. To manage publications in SQL 2005 you need to right click on the publications folder within the replication folder. -- Hilary Cotter Director of Text Mining and Database Strategy RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. This posting is my own and doesn't necessarily rep ...Show All
Visual C++ C++ Convert
I have a project in which 99% code are written in C++ and the project is using some other 3rd party application written in C such as Codebase, Crush32, Paige32, Zinc Framework. The project is using Zinc framework for windows, buttons, text and so on. I would like to convert this project to Visual C++ that I can eliminate to use the Zinc Framwork. Is there any method that can help me to convert or I have to start a fresh project in Visual C++ Thanks Hi Micheal, I donno much more about ur code. but it is difficult realese ur code from the code. if ur code ur using a small part of the thrid party framework or library, and if it open ...Show All
SQL Server C# Pgm: BOL: instance.AcquireConnections(null) HRESULT: 0xC020801C
I'm working on developing a C# application using an SSIS package. I'm using the code example from BOL: "Adding and Configuring a Component". When I run the sample I get the above error. This could be one of several things, including: 1. My connection string is not correct. The string I'm using is included in the sample below from BOL - if I screwed this up, please let me know. 2. My database isn't configured correctly (I'm using SQL 2005 Sept CTP and VS 2005 C# RC1). I can connect w/ SQLManager etc. 3. Something Else ... ...Show All
Visual Basic Number generator based of a bell curve
I'm looking to enhance my program with a better number generator than using random with a range. I'd like to be able to specify a mean, median, range, and standard deviation and have the program create a number. Any help would be appreciated! Thanks, Dat Make use of the "z" statistic from a statistics book. Generate a random number (using normal VB methods) from -6 to +6. This is the "z" value. Convert the z value to your units of interest where you have a mean and standard deviation you wish to specify that describes the bell shaped curve. Using the -6 to +6 you would gen ...Show All
Visual Studio Team System Report server error
After a successfully TFS installation any new projects fails showing any of the reports. If we run the reports directly from reporting services, following error are returned: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsIterationPathParam'. (rsErrorExecutingCommand) The Team System cube either does not exist or has not been processed. We have a dual installation with SQL 2005 June ENT and TFS july. How can we correct the error Regards Christian ~ Hi, Has anyone found a solution to this error other than a compl ...Show All
Visual Studio 2008 (Pre-release) Textbox Bug
I don't know if the textbox was changed to work like this now, or if it is a bug. Up until the Feb CTP the .Drop / .PreviewDrop events of the textbox always fired, no matter what you dropped inside of it. (The data didn't show, but the event fired) Now, when dragging data, I have to use the .DragEnter event and set e.Data.SetData("") to something before the .Drop method will work. Is it suppose to work this way now Thank you Jaco The PreviewDrop event works for the MayCTP. It worked for a simple WPF project. ...Show All
