BusmasterJones's Q&A profile
Visual Studio Can I use VB.NET 2003 Standard and VSS 2005 Internet access?
I have VB.Net 2003 Standard, not the full VS version. Can I use it with the VSS 2005 Internet access If not what are my options I do have the VSS 2005 client installed. Is it possible to use it to check files in/out manually over the internet without the usual VB / Visual Studio Integration Thanks in advance. No, VS2003 Standard editions do not support source control integration. No, VSS2005 client cannot work over the Internet. I'd suggest to upgrade the VS version to one that supports integration. Other possible option is to use 3rd party products that provide remote access to VSS database ...Show All
Visual Studio Express Editions Value Conversion Error
Hi Whenever I retrieve a piece of information from a custom query, and then trying to add that information to a new row, I always receive a "Value of type Integer cannot be converted to 'System.Guid'" error. Does anyone know what could be the root of the problem Dim currentHighID As Integer = Me .Tbl_OrderDetailTableAdapter.GetMaxID newRow.ID = currentHighID+1 <<line with error Hmm I just double checked the Database and it seems that the field (newRow.ID) is the primary key of type int. So unless the compiler converts any primary key to Guid, I honestly don't think it is typ ...Show All
Visual C# more easy way?
Im trying to like generate random numbers but in the process make sure none of them are the same heres the way i do it. My question is is there a more easy way to do it and faster int a = random.Next(1, 55); int b = random.Next(1, 55); while (b == a) { b = random.Next(1, 55); } int c = random.Next(1, 55); while ((c == a) || (c == b)) { c = random.Next(1, 55); } int d = random.Next(1, 55); while ((d == c) || (d == b) || (d == a)) { d = random.Next(1, 55); } int e = random.Next(1, 55); while ((e == d) || (e == c) || (e == b) || (e == a) ...Show All
Visual C# Auto Generated Settings Class
Hi there, I was looking for some help/advice regarding the auto generated class that wraps an assemblies settings. We are currently building an application using VS 2005 but are using MSBee to build a 1.1 version assembly. We have hit a problem in that any Web References added through the IDE have cause this Settings class to be generated. As this class is a partial class this cannot be compiled sucessfully under framework 1.1 Is there any way to avoid the use of this code and still add the Web References via the IDE or will we have to go down some other more manual route to add our web references Thanks Andy ...Show All
Smart Device Development Asynchronous I/O functions on CE
Hi, I need to port a Windows desktop communication DLL to a PocketPC target. Unfortunately, it seems that CE doesn't support aynchronous call for the I/O function ReadFile, WriteFile and CreateFile but these functions were esential to my DLL. So, is there really no support for overlapped I/O methods on CE Is there another way to implement non-blocking read/write operations on serial ports or sockets Thx, Negyoshi. Overlapped is more efficient, and should take some space too. That should be the reason why MS did not implement on CE. But that discussion is not the topic. > Do you use message queues ...Show All
Visual Studio Express Editions Question
Can i create mobile device aplication with visual c# express hi, i don't think so, you have to have a higher version http://msdn.microsoft.com/vstudio/products/compare/default.aspx hope this helps ...Show All
Windows Forms Smart Client Concurrency Issue
Hello I am developing a smart client application that uses web services to access data. The user is able to work in disconnected mode for any length on time before reconciling changes to the database. What worries me here is concurrency issue. What will happen if two users work on the same set of data and both try to update database. For example the us ...Show All
Visual C# How to define arrays in C# Struct
Hello, I've searched through forum using search for my problem and finally I got to make new one. Here we go. I'm trying to make a structure in C# which converted from this Delphi code. When it comes to "Array [0..3] of String[128]", I don't know how to make a C# structure to match this type of structure. I'd like to know if there is any method available to declare arrays like this in C# or not. So far I've tried, I cannot declare and cannot even marshal the C# array too. TCardDB = Record CardNo : String[10]; FName : String[15]; LName : String[15]; OpenMode : Integer; FingerCount : ...Show All
Visual C++ Chinese resources
Hi I have to create chinese resources for my application. To check a bit how all is working I created a chinese mfc application. If I run the application, all is shown correct in chinese. If I check the resources for example the menu in visualstudio I dont see chinese signes. Do I have to change any settings in visualstudio to see the correct chinese signes in the resource editor Thanks Peter This should be working for you. I tried creating a Chinese MFC application and the UI appeared correctly both at runtime and in the resource view. If you don't see Chinese characters in the resource editor, what d ...Show All
.NET Development Taking Values
Hi Ive been trying to figure out how to take a value from a cell in a datagrid that imports data from excel so that i can take the value perform a calculation and move it to another cell on another datagrid but i cant find a way to remove the value or move it can anyone help plz its urgent! thx The purpose of the datagrid control is primairly for display purposes. If you want to manipulate the data, you should manipulate its datasource. Can you post some code, so I can see what you are trying to do ...Show All
.NET Development How do i obtain an MCSD
I was interested in obtaining my certification in Software Developing and was wondering how could i get started on this particular event Hi Vikram, Can you please give the differences between MCAD and new generation certs like MCTS,MCPD. I think in MCAD or MCAD we have develop some applications using visual studio, is this the same case with with MCTS and MCPD Thanks in Advance Regards, Sri Harsha ...Show All
.NET Development Networkstream & TCPClient - write does not throw IOException when server goes down.
Hello all, I encountered a strange problem. I use a TCPClient to send messages to a TCP Server (by Network stream's Write function) when the server is connected it all goes well, but when the server closes the connection I get IOException only on my second write! - the first write method is called as nothing had happened. I tried to give my TCPClient true on NoDelay and also fixed the SendBufferSize of the TCPClient to be exactly as my message size (163 bytes). nothing helped. please advise! thanks ahead hi, what about reading from the server when the server close connection itsends ...Show All
.NET Development Best practice while writing C# functions
Hi, Anyone has any idea about how to free up memory in C# functions. Does the GC collects memory after a function has executed How about setting variables to null after we are finished with them, or the GC will automatically set them to null Does setting variables to null in finally causes an overhead void TestFunc() { XmlDocument xdDoc = new XmlDocument(); try { // use xdDoc } catch { // handle catch } finally { xdDoc = null; } } An object becomes available for garbage collection once there are no longer reachable references to that ...Show All
Visual Studio LocalReport Export graph in Pdf
I use LocalReport for generate export in Excel et pdf with Framework V2.0.50727. When RDL contain graph ( bar or pie) the size of file ( render) in pdf is 16Mo. In excel is OK ( 41ko) or with no graph in pdf (89 ko) Parameter DeviceInfo is a empty string. any idea i have the same problem. the size is 6Mb for 2 pages with one little png and a chart. in excel ist is 42Kb. ...Show All
SQL Server Debugging SP On server from workstation using Query Analyzer
Hai ....., I 'm able to debug a Stored Procedure directly on the server, but I 'm not able to debug the same stored procedure from my machine. What should i do in order to debug the stored procedures on the server from my workstation. (I can debug the stored procedures of my local sql server) Please take a look at the KB article below http://support.microsoft.com/default.aspx scid=kb;en-us;280101 This has additional information than BOL. You should also try this from a different client so you can start with a d ...Show All
