ToN.x's Q&A profile
Visual Studio Visual Studio 2005 SP1 is now available!
Visual Studio 2005 SP1 has now shipped and is available for download here: http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx I'd like to take a moment to thank everyone for using the ReportViewer controls, for helping to answer questions in this forum, and for bringing issues to our attention. I have enjoyed answering questions in this forum over the last year and look forward to continuing. While we haven't been able to respond to every question posted on this forum, I can assure you that we do read all of them and use the feedback to help plan and prioritize future releases. Below is a partial list of fixes that are included in the ReportViewer controls in Visual Studio 2005 SP1. Fixed several issues around A4 ...Show All
Visual C++ serialPort.Read
I have been playing around with the serial port class for about a week and have managed to learn a small number of different ways to read the data in and then act upon it. I have just successfully written code to use the serialPort ->ReadByte() method. My problem with this method is that no matter how large (number of bytes) the data is, it will only read one byte at a time when data is received. I want to read a small data packet which contains three characters. I have attempted to use the serialPort->Read() method, but I keep getting a null error. My code is: private : System::Void serialPort1_DataReceived(System::Object^ sender, System::IO::Ports::SerialDataReceivedEventArgs^ e) { int offset = 0; int count ...Show All
Visual Studio Express Editions 3 line text file to be put into 3 text boxes
Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! my fields are called f1,f2,f3,f4,f5 and f6. Opendiag.ShowDialog() Using filereader As New IO.StreamReader(Opendiag.FileName, System.Text.Encoding.ASCII) For BeanCounter As Int32 = 1 To 6 Me.Controls("f" & BeanCounter).Text = filereader.ReadLine Next End Using The code gets to Me.Controls("f" & BeanCounter).Text = filereader.ReadLine then it errors with Object reference not set to an instance of an object. If you know what to do then please reply, and thanks for helping me Cheers ...Show All
.NET Development Xml Web Service proxy using Wsdl.exe
I have a web method which takes an input parameter( the custom class object). When we generate the proxy for the webservice using "Wsdl.exe" it makes this input object readily available to us to be populated at the client side and send it over to the server. My query is can we use the same custom class object both on the Server Side and the Client side Considering that the type - to be used @ the server and the client side, is a seperate class project.And referenced by both the client and web service project. Using the wsdl.exe - the proxy generates it own type, which results in invalid cast exception if tried to cast from one type to another. Solution to this is we manually go and modify the type in the .cs/.vb file gener ...Show All
.NET Development uploading huge chunk file
Hi all, I have created application for uploading huge chunk file (min 1gb) to server(CONTENT MGMT SERVER). File Size TIME 1.4 GB 22 Minutes 3.17 GB 32 Minutes I am reading 10MB chunks for each partial write and utilizing maximum of 25 threads running at any point of time during execution. Can anyone help me to improve performance application. I would appreciate, If anyone give me suggestion to improve performance of application. Thanks, Vijay Kumar Email#jaydotnet@gmail.com Please provide some additional info: - How is this implemented, over HTTP or . What is the network setup - What analysis have you done so I assume you are after a smaller total download time as opposed to reducing some other metric ...Show All
Visual C# Referenced DLLs - How to dynamically update the path of the reference dlls in another solution?
Hello, I am working with 2 C# solutions right now, 1 is the main application we are creating (let's call it MainSolution.sln for now), the other is a unitTest solution (UnitTest.sln) created as a separate solution file, as the main solution consists of too many projects and compiling it takes a long time. It was created separately also because different groups of developers can work on the respective solutions they are tasked to do. In the UnitTest solution, we create unit tests for the main solution classes, hence, for each project in the unitTest solution, I've added references to the respective main solution dlls. A typical full path of the Main solution's DLL is C:\MainApp\<foldername>\bin\Debug\<filename>.dll I'm cur ...Show All
Windows Forms ClickOnce file share icon?
This is probably a really basic (maybe stupid) question, but I have done several searches and haven't found an answer Here's one version of the documentation I'm referring to: Install from the Web or a Network Share Using this strategy, your application is deployed to a Web server or a network file share. When an end user wants to install the application, he or she clicks an icon on a Web page or double-clicks an icon on the file share. The application is then downloaded, installed, and started on the end user's computer. Items are added to the Start menu and the Add/Remove Programs group in the Control Panel . Where is the icon they are referring to in the statement: double-clicks an icon on the file share When I pub ...Show All
.NET Development File Watcher class (.net framework 2.0)
Dear folks, Primary platform is Framework 2.0.50727.42 and Visual Basic 2005. I’m looking for any sample which provides mes how to implement File Watcher class. My current dutie is build a infinite loop inside a Service Windows program where a group of subfolder are scaned all day long. When a concrete file is meet a procedures are fired. I could do the same by mean Stream classes but I heard that I'do my best using File Watcher. Thanks for any input or thought about this requirement, It's my fault. I had written incorrrectly this line: AddHandler watcher.Created, AddressOf OnChanged ...Show All
Visual C# reflection and polymorphism
can anybody please give me a simple definition of reflection and polymorphism and how,when and why they might be used. much appreciated. polymorphism is derriving one class from another and being able to use the parent class to hold onto an instance of itself or any of its children. public class Parent { }; public class Child : Parent { }; Parent p = new child(); Reflection is a bit more complicated, look into the System.Reflection namespace help in the MSDN ...Show All
Smart Device Development Textbox border not displaying in Smartphone - WM 5.0?
Hi all, I am developing an application to work across different devices including Smartphone WM 5.0, Pocket PC 2003 Second Edition + Square Screen. The problem is that if I put a simple Textbox on the screen it only shows the border on the Smartphone when I select it (Pocket PC displays it always which is what I want). Does anybody know how I can display the border all the time I've tried to draw a rectangle around the Textbox and it does show a border on the right and bottom, but that's about it, and when I select the Textbox it displays the border which is double think on the right and bottom. Thanks in advance. Grant. Hi, That's the problem that I'm trying to solve - I want to disp ...Show All
Visual Basic Database Developing
Hello Developer Team..This is Demetrius Powers i am writing you in regards to a situation that i have acquired in entry level database developement. I am a Database Administrator for a medium level construction company in chicago..They have hired me and a team to complete a database using Visual Studio .Net and Ado .Net...I was wondering if you could share a lil bit of your expertise with me... Here is the problem: This construction company has 3 storage garages filled with all kinds of tools, equipment and vehicles, since this is a big company they have problem keeping up with all the tools that come in a go as they please some in which get legs and never return to these storage garages... so they want us to design a da ...Show All
Windows Forms No status dialog while downloading bootstrapped project?
I have an msi installer file that contains a .Net application. I am bootstrapping this application using a MSBuild task. I want to deploy this application on the web. I would like users to be able to download and install my application from the internet using a streamlined, user-friendly process. If I just deploy the setup.exe, it will work but there are a few problems. After all of the prerequisites are downloaded and installed, my msi file gets downloaded. While this is happening, there is no status indication that it is happening. The user (as I did) will assume that your installed has finished and nothing is happening. This download could take a long time on a dial-up connection. Is there any way to display a download dialog or some k ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Terrain Options
Hi Whats better for implement terrain -Use the content pipeline for load then .x file with the terrain or -implement de class for convert the pixels of .raw file in vertex with the height (y axi) dependent of de gray color I have problem whit the first option becose a can't extract the vertexs of vertexbuffer becose the vertexbuffer is WriteOnly What I can do thank's Nice one Shawn, hadn't heard about this technique before. Really makes you think about other possibilities. This would give the CPU a LOT of free time, if I get this correct all it has to do is create a flat grid once If the geomtry shader in 4.0 can also sample textures, the CPU will almost be completely useless Defin ...Show All
Software Development for Windows Vista Reuse policies and rules
We are going to have a large number of workflows. Within these workflows we will have policies with rulesets used to validate the data and evaluate against business policy. A number of the rules are common to many policies and a number of policies are common to workflows. I cannot find a way to reuse a rule in several policies or reuse a policy in other workflows. Suggestions thanks Don Can you give more information i.e. xoml, code, etc Or do you need general debugging instructions, i.e. how to attach the debugger ...Show All
Visual Studio Express Editions turn off button highlight
how can i turn off the button light when the mouse enters.I have a flat style button with an icon for picture i don't want it to highlight when the mouse enters it. Thanks Suggest you watch the Button customisation video that is in the learning resources so you can achieve exactly what you require. http://msdn.microsoft.com/vstudio/express/vb/learning/#beginners ...Show All
