Sandro Franchi's Q&A profile
Visual Studio Express Editions Monitor Program For Crashes
HI all, I have written a program that trades Forex for me that connects to my broker via an API interface. As the program can run for days at a time un monitoried I need to know if the program crashes and if it does restart it. I know this is band aid fix and I should just fix why it crashes. The thing is I can not find out why it crashes every now and then and until i do I want to use the band aid. It is a multi threaded app and fro ...Show All
Visual FoxPro How can I use a stored procedure in my asp.net app
I'm trying to execute a stored procedure in my webform, I tried the next code: OleDbCommand cmdtemp; OleDbConnection conn; conn = new OleDbConnection(ConfigurationSettings.AppSettings["strConnection"].ToString()); cmdtemp = new OleDbCommand("storeProc_1",conn); cmdtemp.CommandType = CommandType.StoredProcedure; try { conn.Open(); cmdtemp.ExecuteNonQuery(); conn.Close(); } catch (Exception ex) { string Mensaje = ex.Message; conn.Close() ...Show All
Visual C# Error when adding Constant
Hi I am trying to add a constant to my class to store the connection string once retrieved from web.config I am trying to do it via const string strConn = ConfigurationManager.ConnectionStrings["testConnection"].ConnectionString; however this keeps throwing the following error - Error 23 'mpyapftdb.DAL.DAL.strConn' is of type 'string.' A const of reference type other than string can only be initialized with null c:\inetpub\ww ...Show All
Visual Studio Pagination icons in Firefox
If I move the mouse on the pagination arrow, there is a small square shows up and the arrow is not within it. It's a little bit annoying. Is there any solution to solve it Thanks. We are aware of this issue and will have it resolved in the next update. The highlight color and border width are configurable properties on the reportviewer control. Until the update, you can set the border width to 0 and the hig ...Show All
Visual C# Preventing decompilation!!
Hi, Can someone tell me how can I prevent decompilation of assemblies created in .NET. Are there any freeware softwares that makes this happen. Please provide me the download link of these softwares, if there are any. Thanks, Frens Yes I realize that the service is online. Well its OK, but I didn't see service for protecting from ILDASM. The most important thing that we need for protection is protecting ...Show All
SQL Server where can I get the SampleKey.snk ?
I download the Plug-in Algorithms Sample at http://www.sqlserverdatamining.com/DMCommunity/Downloads/default.aspx but it has lost the SampleKey.snk file. where can I get the SampleKey.snk is it free thanks a lot! In Visual Studio 2005, the C#, Visual Basic, and Visual J# integrated development environments (IDEs) allow you to generate key pairs and sign assemblies with ...Show All
.NET Development Problems connecting Visual Web Developer Express to and Oracle 8i database
When I choose my data connection; If I use the Oracle Database (Oracle Client) .net data network client for Oracle as my data source, I can view the data, but can't update, insert or delete. When I try to check the advanced sql generation options to make it a read/write database, Generate Insert, Update and Delete Statements and Use Optimistic Concurrancy is grayed out. If I connect using an ODBC connection I can check off Generate Insert, Updat ...Show All
Windows Forms passing global strings??
have a global string defined in a form class MyGlobalStuff { public static string user; } how does one pass this variable onto a different form in the project. It tells me the global variable user is not defined for that different f ...Show All
Visual Basic Introducing Microsoft Visual Basic 2005 for Developers
guys, cool ebook about Visual Basic from microsoft. It's Free http://msdn.microsoft.com/vbrun/staythepath/additionalresources/introto2005/ Its often the link that is posted when people are getting started with VB.NET 2005/Express and want some help / walkthroughs etc. ...Show All
.NET Development Tcp buffer
Hi, Client applications for my application are sending about 1500 short messages/second via Tcp sockets (local sockets, I mean on local host). Besides, my application is running on more than 60 PC, routing commands also via Tcp sockets. I fight againt my colleagues (programmers of these client applications) asking for using ACK but they did'nt want. So, I rely on the Tcp buffer and read (and handle commands) as fast as I can this Tcp stream. Wh ...Show All
Visual Studio Team System Complicated upgrade path using TFS RC
Hi, I have a Team server running the RC build. I will very soon want to move this server to new hardware and a new domain. Is there any guidance on performing this sort of move I have a single server install of TFS. Regards Graham Allen is correct. The documentation is written, and is going through some final editing review at the moment. This documentation will be available at ...Show All
Windows Forms In DetailView get Dropdownlist value
Hi, I have some annoying problem. I have 2 objectdatasources 1- One objectdatasource is bound to UserId, Name, address in DetailView --> Bound with DetailView 2- Another objectdatasource is bought to dropdownlist which is template in detailview and filling Users in roles. Now problem is I see all the users in roles in readonly mode. When I edit still than I see all the Users in dropdown but When I update I dont get SelectedValue to send to ...Show All
Windows Forms Combobox event usercontrol
Hello, I am sure y'all have answered this before, but I am having a rough time finding the answer. I will blame my cold instead of my laziness. I have created a user control to hold a bunch of panels. I created a collection class to hold the panels and that works great. Now I am trying to add a combobox on the UC so that at design time It list all the panels that I have added and be able to navigate between panels using the combobox selected ...Show All
Visual Studio Upgrades
I currently have MS Visual Studio 2003 Pro .NET and I am trying to upgrade it ... So I went out and purchased the Visual Stuido 2005 Professional Edition with msdn Professional subscription... assuming that the MSDN is worth the extra money. I get the box (mail order) and it says "ATTENTION This package is a subscription renwal purchase ... bla bla bla" Can I use this or do I have to return this I looked for a place to acutal ...Show All
Visual Basic How to Draw Text on an image?
Hi everyone, I'm stuck on a little project where I need to draw Text on an image in a picturebox. I have a TreeView, 2 pictureboxes and a Textbox. The TreeView has a list of pictures in a selected directory, when I click on an image name it displays in the first picturebox (PB1), and I want the text in the TextBox1 to be written on the image and displayed in the second picturebox (PB2) on the fly (to show the user the attempted output). ...Show All
