r3n's Q&A profile
Windows Forms Avoid registering in ressources file
Hi, I'm wondering how I can avoid a graphics component to the RESX file and so to ressources part of my assemblie. I'm using Picture Box in my forms. To make my design, I directly set the ImageProperty to the good image. But after, I've developped a tool that update my picture box from a directory (in order to be able to change image without recompiling). So I do not need the image to be stored in the Resx File. I've the same question with ImageList ! Thanks for any help ! Just don't set the Image property in the designer. To remove it afterwards, click on the Image property in the Properties window and type Ctrl + A, Del. And delete the image from the Resources node in your projec ...Show All
SQL Server Distributed Transaction
Hi again, I do not know when to use Distributed Transaction. Would you please give an example about its usage or give a tutorials about this Thanks distributed transaction involves more than one server. meaning you can create transaction tokens that are distributed across the enterprise. A single sql server alone would not be enough to handle data for a very large enterprise. Sql server can be scaled out by adding additional server. Distibuted transaction allows you to perform an ACID operations between servers. transaction stipulates that all work needs to be done other wise everything rolls back. distributed transaction allows you to work on differents server( server1 ...Show All
Visual Studio Needed help in printing report in crystal report 9.1.5 for visual studio .net
Hi guys, I found that this version of crystal report miss one very important icon-the print button. There are some solution such as printing from browser, adobe acrobat plug -in and export to other export formats but they still not a better solution. Did anybody know how to make a similar print button or there were an upgraded version of this crystal report for vs.net that have the print button Thanks in advanced for any of your reply. canfield Thanks for your reply Now I got the answer of how to implement the printing function in my application. But with the print button that can popup the print window from the browser is still the better solution for printing so that the user can choose t ...Show All
Visual Studio Express Editions c-mon guys..help me out
I asked for help in my other thread.. button help needed... big problem.... I had a couple of replies...but I am still stuck....can you help please thaks for the replies guys.... but saving the urls is fine for me...as I can save the urls that I want......ie...google.com... but if someone else was to use my browser....I want them to be able to assign the buttons to their preferences... actually I messed up....because I have 10 menu items named site1 to site10......... the idea was to save your favorite sites to the menu items......but my favotite sites are not your favorite sites.... see the problem I need a way to save the menu items to the documents folder....so that the user can change them....... I ...Show All
Visual Studio 2008 (Pre-release) Advice on proxy types needed
I have two services (DiagnosisService & AccidentInformationService). [ ServiceContract , XmlSerializerFormat ] public interface IAccidentInformationService { [ OperationContract ] AccidentInformationDTO Get( Guid claimId); [ OperationContract ] [ FaultContract ( typeof ( ValidationError ))] AccidentInformationDTO Update( AccidentInformationDTO accidentInformationDTO); } [ ServiceContract , XmlSerializerFormat ] public interface IClaimDiagnosisService { [ OperationContract ] DiagnosisDTO Get( Guid claimId); [ OperationContract ] [ Fault ...Show All
Visual Studio 2008 (Pre-release) 3D : One Graph, multiple viewport. How to deal with ModelVisual3D & Model3DGroup Limitation ?
I'm having a hard time figuring out how to implement a graph of 3d node and represent this graph in multiple viewport. basically, ModelVisual3D offer me everything i need so i could inherit from it to create my GraphNode class but once a ModelVisual3D is added to a viewport3d you can't add it to an other. I could inherit from Model3DGroup and figure out how to add a Content property but it is sealed and don't give hittest for nodes. i have read Daniel Lehenbauer's Blog about this, but still can't find any way. http://blogs.msdn.com/danlehen/archive/2005/10/09/478923.aspx Thanks Right, Model3DGroup is what you want because it can have ...Show All
.NET Development Difference between ADO Execute and (Delete, Update, Addnew)
This forum topic is for ADO. I am working in Pro*C to ADO equivalent conversion. In Pro*C method, update, delete and insert sql statements are availabe. The same code should be used for both ORACLE and SQL Server database. There are 2 approaches to convert these statements: 1. Connection.Execute "sql statement for update, delete or insert" 2. Open the Recordset with use of select statement for update, delete or insert. Change the feild values and call the Recordset.Update method for update query, Recordset.Delete method for delete query or Recordset.Addnew & Recordset.Update for insert query. Which is the correct approach in ADO for the above 3 types of SQL statements Thanks for your response. Consi ...Show All
Visual Basic Fileget
Hi, i am using fileget to read a file, but i am going the following error: System.Security.SecurityException was unhandled Message="Late bound calls to file system methods in the Visual Basic runtime are not permitted." my code is the following: Public Structure rec <VBFixedString(4)> Public icount As String <VBFixedString(48)> Public iTellerID As String <VBFixedString(48)> Public iTellerName End Structure Public myrec = New rec Dim iFr As Short iFr = FreeFile() FileOpen(iFr, "day_08.log" , OpenMode.Binary, OpenAccess.Read) FileGet(iFr, myrec,1) FileClose(iFr) What i am doing wrong Please help. Public Stru ...Show All
Visual C++ Visual Studio Professional vs Visual Studio Express
My company spent a large sum of money to buy Visual Studio Professional 2005 about a year ago. I am not familiar with Visual Studio Express. Does Visual Studio Express have documentation on MFC Is it better than Visual Studio Professional Thank you. There are GigaBytes of information on the Win32 SDK on MSDN: here's what I was just looking at 10 minutes ago: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/setenvironmentvariable.asp ...Show All
Visual Studio 2008 (Pre-release) Drag and Drop List View Item
I'm building an List View box that has List View Items which can be dragged and dropped. I have been able to pull enough info from the Windows SDK and other web resources to get the drag and drop functionality partially working. I am unsure how to detect where to insert the dragged list box item with WPF. In WIndows Forms you could do something similar to listBox.IndexFromPoint(x,y). Is there an equivalant in WPF to determine this Perhaps there is a better way to determine where to reinsert the dragged item Thank you, Bill This might be what you are after. "Drag and Drop Items in a WPF ListView" Project by Josh Smith on CodeProject http://www.codeproject.com/useritems/ListViewDragDropManager.asp ...Show All
SQL Server Exporting Data from Database to a csv file
Hi, How do I export data from my database table into a Comma separated value file format. I am using SQL Server 2005 with vb.net Thanks It would use the SQL Server Import / Export wizard , it is more comfortable than the BCP command, although in some cases like automatic commandline export thats the only choice. Right click the database and choose the Export... command. You will be guided though a wizard for exporting. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual FoxPro Report form problem
I'm using printer "Epson 24pin compatible" and created 2 forms, "INV" and "DN" which is custom size. When I develop the pgm in my pc, I changed the printer and form in the report form and it works properly. However when I deploy the program to other PC, ( I also created the same printer and custome form in that pc), the form changed it back to "letter" size. I have to modify the report form in that PC and re-complie, then it worked properly. What's the problem and how can I fix it Thanks, Edward FRXs store printer info from your development machine and stick to it in production. You should clear the printer info before delivering the software: Update ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will Xna Framework support device queries, like occlusion query?
I couldn't see any support for device queries in the docs, have I missed it If not are there plans to add query support Cheers, Leaf. I agree too. And not just for lens flare. It have numerous uses: - Terrain visibility. - Lens flare. - Looking if a grenade affect the player with a very good precision. - etc. :) It solves any kind of line check in a very efficient manner and, while it's slower than traces and ray testing, it's sometimes the best way to see if something can "see" something else. As a more concrete exemple, I wanted to use queries to to do a first pass on cell to cell visibility on my terrain engine without any math involved ( need a fast video card but it's simple to implement ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual Studio 2005 w/ XNA!!!
i was wondering if anyone knew how to include the xna project templates into vs2005 i tried to copy the templates manually from the project templates folder of c#express to vs2005 but, they still don't show up with the other projects. im not even sure it's possible to do this but, i was curious to know also, does anyone know how to turn on line numbers in c#express i'm soo use to vs2005 and all it's features that i have grown accustom to it!!! this is my first time using c#express!!! yeah i kind of figured it was just made specifically for c#express. thanks for your responses guys!!! i got a question for you michael i noticed that you responded to another thread stating that they were having problems vi ...Show All
SQL Server Wrong values stored in a field of Datatype Float
Hi, When i try to insert a value in to a field of datatype float(8), it is storing the wrong values(approximate values). For example, if i try to insert 2.62 , it takes it as 2.6200000000000001 But i can see the correct values displayed in the frontend. Heard that there is a fix available for this issue. Could any of you help me in getting the details about that fix Thanks in advance. ~ Chaitanya In addition to what Jens said, read here about the float datatype: http://msdn2.microsoft.com/en-us/library/ms173773.aspx It is what is called an approximate datatype, so you can have some minor (mathematically insignificant) differences between what you expect and what ...Show All
