Arghya.mp's Q&A profile
Smart Device Development WebResponse Close call hangs
I'm currently seeing a WebResponse.Close() call "hang" running CF2 from VS.NET Beta 2 running on a standard Pocket PC 2003 SE emulator. The HTTP request is being made against a Live365-based audio streamer (MP3 streamer) and the code below hangs every time I run it. The stream it is opening is thus very large and is binary rather than textual - but in the example code below I don't even read any of that stream. The code doe ...Show All
SQL Server Print Button
Print button is disabled for some users. Don't know why it is doing so Works fine for most of the users in the same group. Any help is much appreciated. SQL SERVER Reporting Services 2000 Win XP The solution is documented here: http://msdn2.microsoft.com/en-us/library/ms155874.aspx -Lukasz ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Visual C# Help What am i doing wrong??
hellow, i have a question, what am i doing wrong here FileStream joc_joc = new FileStream ( "joc_joc.txt" , FileMode .OpenOrCreate, FileAccess .ReadWrite); StreamReader line = new StreamReader (joc_joc); while (!line.ReadLine().Equals( "#" )) { listBox1.Items.Add(rand.ReadLine()); } i complie with no problems, but when i acess the form i get this: An unhandled exception of type ' ...Show All
.NET Development Problem with AutoNumber key column
Hi, I'm using dataGridView in VS 2005 environment. And I observed that the AutoNumber key columns increments the number whenever I sort on the grid. Scenario to reproduce the problem is: -bind the grid with 'Employee' table.(EmployeeID column is Primary key and it's AutoNumber) -Sort on the gird. Observe: EmployeeID column displays different number at each time when we sort the grid. Any idea about this Any comment i ...Show All
Visual C++ Visual Studio 2005 C++ program crashes on some XP machines but not others
I compiled a simple C++ program with Visual Studio 2005 and it works on the winXP machine that i developed it on, but it crashes on another winXP machine that doesn't have Visual Studio 2005. I'm baffled because I statically linked my libraries so it's not depending on DLLs. The code is simple in the sense that it only uses ANSI C and std::string. here's my build string: /OUT:"D:\a\preproc\Release\preproc.exe" /INCREMENTAL:NO ...Show All
Visual Studio Team System help me!error 32000
Visual Studio 2008 (Pre-release) Synchronizing two listviews / listboxes
I'm looking for a way to keep two listviews synchronized. In other words, if one is scrolled, I'd like the other to be scrolled the same number of items. Ideally, I'd like to have a listview / gridview, and be able to "freeze" the left column of the grid. But in order to accomplish something that works the same, I could just keep two listviews in sync. Is there a way to do this in XAML I think it will require coding. ...Show All
Visual Basic Problem with NumericUpDown (VB.NET 2005 B2)
Hi again from Spain. I'm working with a NumericUpDown control and i have this problem. I set a Minimun (1) and a Maximum (200) to the control. If the user write 210 in the control... automatically change the value to the maximum (200). But... i don't want it. I need to show a MSGBOX with an alert and then... allow the user to change the value by hand. How can i deactivate this function A very big thanks from Spain! ;) ...Show All
Windows Forms Beta 2 Publish help needed
Hi all, I'm a student trying out VS.net C# express beta 2. I had created a simple hello world program. I'm using the "publish" feature that comes with vs.net, however I notice that when it's install on another computer, it takes a long time to install as the setup is downloading the .net framework 2 from the internet. Is there anyway to bypass the internet streaming and instead put in all in a cd-rom for the installation Thanks. Hi, I had ...Show All
Windows Forms Insert last vallue to text field
Hi I'm stuck on trying to retrieve the last value from a sql table and insert it into the a text field. public void getOrderNo( object sender, EventArgs e) { orderNoLabel.Text = ; } <asp : SqlDataSource ID ="sqlOrderNo" runat ="server" SelectCommand ="SELECT MAX(OrderNo)+1 AS CurrentNo FROM orders;"> </ asp : SqlDataSource > ...Show All
Windows Forms Windows Forms Designer
In the Beta2 express version of Visual Studio, I cannot figure out how to access the code behind the forms designer drag and drop. Double clicking on a control in the form that I am working on simply produces code for a click event (not all the code behind the form). Any instructions available Thanks. another option and a favorite of mine is to right click on the call to InitializeComponent() a ...Show All
Visual Basic Processing Serial Data
I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need ...Show All
.NET Development Communication Application server
Hi all, I need to develope a communication layer between a windows application and industry field device. The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application. The windows application will be the client and the server read and write the values. Please help. Best regards... Can ...Show All
Smart Device Development CAB Header structure
Hi! This might be a bit off-topic, but here goes.. I'm currently trying to understand the file structure of a cab built for wm 5.0 devices. This differs from the earlier structures. Does anyone know where or how i could get hold of the struct for the header I have the "common" structure already.. but i want to find where offset to AppName and Provider is stored... For the moment, I'm using a hex editor and trying to find the off ...Show All
