colin please's Q&A profile
Windows Forms Can one use an image for the actual control?
Hi. This might be a simple task for the pros but I'm far from that! Anyway, I would like to create controls such as knobs or switches etc. for my user interface. Say I want to duplicate a home stereo face or whatever. &nb ...Show All
SQL Server Possible bug with SqlServer 2005 calling UDT Read method?
Hi, I have a UDT written in C# that is formatted with UserDefined. I added the IBinarySerialize interface and it was implemented automatically by Visual Studio as follows: void IBinarySerialize .Read(System.IO. BinaryReader r) void IBinarySerialize .Write(System.IO. BinaryWriter w) This compiles fine, and the assembly deploys fine. However, when I execute a call to a stored procedure and pass a UDT that has ...Show All
Visual Studio Express Editions VB Help required
I have a small question and maybe someone has the answer im looking for. im using the latest VB 2005 express beta 2 version and i want to make it possible for people to save their settings that they set in the application im making. so for example my application has multiple check boxes and i want it so it remembers automaticly how they are set and next time it starts the settings are still the same. Also like to know how i can manually save the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 9.0c Dec 2005
Outstanding product. After install my eVga Nvidia 6800 GT has texture breakup in DirectX. Of course there's no rollback. So what now, repair to WinXP from CD and reinstall all updates, SP2, etc What a pain in the butt. Twil1ght wrote: After install my eVga Nvidia 6800 GT has texture breakup in DirectX. Of course there's no rollback. So what now, repair to WinXP from CD and reinstall all updates, SP2, etc ...Show All
Visual Studio 2008 (Pre-release) Indigo and Classic VB
We are tring to leverage WCF in some of our legacy (classic VB 6) apps by wrapping up a .Net component into a Com-Callable Wrapper. So far so good. The only problem is this - when running the app through the Visual Basic debugger in the IDE, it doesn't load the binding info found in appname.exe.config (which does work fine when running the .exe), so the web service calls fail. Any ideas That's because the hosti ...Show All
Visual Studio Express Editions Is there a "Setup" project available in Express editions?
Maybe a dumb question, but I have Visual C# Express 2005 Beta 2 installed on my computer but it seems like it doesn't have a Setup kind of project. Isn't it available in Express editions How else, except for the Publish feature (which doesn't work as well), can I deploy my applications Resorting to 3rd party software doesn't sound too good to me. Is it something wrong with my installation It would be a pity not to include in VS 2005 such a tool ...Show All
SQL Server Provider Load Failure In Management Studio
Hi, I am having problem in connecting to the report server in SQL Server Management Studio. An msg said "Provider load failure" is displayed but i could deploy reports in Visual Studio and view them in IE browser by going to http://localhost/Reports . Any ideas Thanks, Jane Management Studio uses WMI as default to connect to Reporting Services. Make sure Windows Management Instrumentation ser ...Show All
.NET Development how to implement login from code to other site (hidden login)
hi there , i want to login to another site using httpWebreqwest & httpWebResponse classes & i used the falwing code : public string Crawl_UsingPost(string postData) { req = (HttpWebRequest)WebRequest.Create(url); req.Method = "POST"; req.Credentials =new NetworkCredential(username,password); req.ContentType = "text/html"; req.Headers.Add("username",username); req.Headers.Add("password",password); req.PreAuthenticate=true; req.Pipelined ...Show All
.NET Development Type.GetMethod is incredibly slower in .Net 2.0
My application uses scripts that are user provided and generated at run-time. These text scripts and appended into a class, compiled with a code provider and then invoked by reflection. This works great with .Net 1.1 but with .Net 2.0 the Type.GetMethod used to aquire a MethodInfo for invoking a script is performing significantly worse. What takes 0.3 seconds in 1.1 takes 20 seconds in 2.0. This is quite unwanted. Why is this and is there a bett ...Show All
Visual Studio Express Editions installing v studio ex edtion
I want to register to get visual studio express edtions free version..... thanks You can download them from: http://msdn.microsoft.com/vstudio/express/default.aspx Once you have downlaoded and installed you can register for additional benefits. Hoe this helps, Steve Hoag Visual Basic Express ...Show All
Visual Studio Tools for Office VSTO and OLE Automation
Hi, I have a VSTO-enabled Excel spreadsheet which works just fine when I open it standalone. I use the VSTO Startup event to add some document actions. Now I am trying to open the spreadsheet programatically using the following code: Excel.Workbook wkb = _app.Workbooks.Open(strFileName, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type ...Show All
SQL Server Command Line connect to SQL Server Database
I am trying to connect to the SQL Server database from the command line or from a cmd script on Windows - Is there a way to do this I am new to SQL Server and I am trying to create a script that can check to see if the database is up and then send me a message if it is down. osql.exe is command line client which allows you to establish a connection to SQL Server. Please try osql -E for trusted connection, or ...Show All
SQL Server Need help running .dtsx package from web page
I'm trying to get the syntax right to run a sql agent from my server that in turn will run a .dtsx package when the user clicks a button. So far I have: in my .aspx page: < form id ="form1" runat ="server"> < div > < asp : button id ="contact_submitted" onclick ="Run_Process" runat ="server" cssclass ="submitbutton" Text ="Click here to start Processing" PostBackUrl =""> ...Show All
Visual Basic Create control collection dynamically in Vb2005
Hi, does anyone know if you can create a vartiable number of controls(labels) dynamically in vb2005. Add design time the number of controls and names are unknown. If you need to convert to a Label then: Private Sub Label_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Dim lbl As Label = DirectCast (sender, Label) Messagebox.Show( Me .Controls.IndexOf(lbl).ToStr ...Show All
.NET Development strongly typed dataset
Hi, The following line populates a datagrid using a strongly typed dataset. dsEmps is the .xsd file in the foreach line I would like to loop through each record I get an error on the foreach line and it says: specified cast is not valid I think this line has to be somehow casted employeeDetailsData.Employees.Rows EmpBusRule.EmpService.dsEmps employeeDetailsData; EmpBusRule.Employees br = new EmpBusRule.Employees(); employeeDetailsData = ...Show All
