WondaFish's Q&A profile
Windows Forms Invalidating and Scrolling
Hello, I have a panel on which I draw various simple object (lines, rectanges). This panel has autoscrolling set and autoscroll min size set, with scrollbars showing. When I scroll the panel I use a transform to offset the drawing based on the ...Show All
Visual C++ Event Handling with OpenMP
Hi everyone! I was recently developing an application that did some pretty extensive calculations, so to guarantee that the calculation would not interfere with the event-handling of my application, i parallelized the main-loop of the application with OpenMP: while(!done) //done can be set by the message-handler { volatile bool fin = false; //Input and calculation in parallel: #pra ...Show All
Visual Studio Express Editions INSTALLATION ERRORS
I downloaded Visual Basics 2005 Express, Microsoft MSDN 2005 Express Edition, and Micrsoft SQL Server 2005 Express x86, as a pundled package. The first 2 installed fine. But I'm having some issues with the SQL Server, it stoped in the middle of the instalation and said instalation failed.( An unexpected error occoured during setup. The data file C:\DOCUME~1\DJARTS~1\LOCALS ~1\Temp\sit27125REBOOT. ...Show All
Windows Forms DataGridBoolColumn, Value display and Event Capture
With the following Style I had created the two columns in my datagrid 1) DELETE (vlaue boolean) 2) MCWR ID (Numeric) In the database I have only two values in the DELETE column 0 or 1 BUt when I am loading the grid I am getting all& ...Show All
.NET Development Data files?
Is it possible to use datafiles in C# if so how i have a project to do in C# and Data files would help bunches. Well, the next logical step would be to use a binary file, through a BinaryReader and BinaryWriter (see the doc). These will allow you to read and write arrays of bytes from a file, and also to move to a specified position in the file using the Seek method. You will need to determine a fixe ...Show All
SQL Server Error CS2001 & CS2008
After installing and configuring RS June CTP, when attempting to deploy a new report or when browsing http://localhost/reports I'm getting error: Error 1 Server was unable to process request. ---> Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\9a1mhqzb.0.cs' could not be found error CS2008: No inputs specified Probably ASP.net does not have permiss ...Show All
Visual C++ Trouble trying to initialize an unsized string
I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. Hi, Oops, sorry my bad, actually strlen(NULL) is generating the problem. Max ...Show All
Visual Studio 2008 (Pre-release) Why the name "DLinq"?
Any reason for why it's called "DLinq" It seems that calling it "RLinq", with the R for Relational, or "SLinq", with the S for SQL, would make more sense. This is true.. However, as you allude, it need not remain so. I think it wouldn't take much to have a pluggable DataContext provider which would contain the logic for determining what to send to the server. I'm guessing the translation logic is i ...Show All
Visual Studio Express Editions Newbie lost in socket programming with error "An existing connection was forcibly closed by the remote host"
Hello, I'm trying to develop a tcp/ip request forwarder using system.net.sockets and VB 2005 I read somewhere not to use TcpClient and TcpServer for performance concerns... So I've been trying for 2 days without any success with following code. Any help would be really appreciated Dim theIPEndPoint As System.Net.IPEndPoint = New System.Net.IPEndPoint(System.Net.IPAddress.Loopback, 81) Dim ServerSocket As System.Net.Sockets ...Show All
Windows Forms Networking layer
I'm working on a .Net peer-to-peer application. I'm interested in how Terrarium deals with network connectivity and message handling (sockets, remoting, etc.) I'm also interested in how Terrarium solves the Nat/Firewall issues. Does it use rendezvous or&nb ...Show All
SQL Server installation bug found SQL Server 2005
Hi! I had the earlier builds and this did not happen but: just downloaded SQL Server 2005 (RTM) from msdn When selecting to install integration services (amoungst other options), whilst installating it gives me an error saying I do not have admin privledges to install one of the .NET libraries/runtime files I cannot remember the file name at all im afraid. Error: 0x80131501 So I cancelled the install and just installed everything but the in ...Show All
Visual Studio 2008 (Pre-release) Peer Networking and PeerChannel install on Windows Server 2003?
How exactly do you install peer networking and PeerChannel on Windows Server 2003 On my Windows Server 2003 server, I've installed WinFX and also Windows Server 2003 SP1. Although the SP1 download page claims that this adds peer networking, there are no signs that peer networking is available: I don't see any peer networking services listed under Control Panel > Admin Tools > Services, and there aren't any options for peer networking li ...Show All
SQL Server inserting data returned from a sproc into a table
i am writing a sproc that calls another sproc. this 2nd sproc returns 3 or 4 rows. i want to be able to insert these rows into a table. this sproc is inside a cursor, as i have to call it many times. how do i insert the rows that it returns into another table You can use OPENROWSET for this... INSERT INTO YourTableName SELECT a.* FROM OPENROWSET('SQLOLEDB', 'ServerName';'UserName';'Password', 'Nort ...Show All
SQL Server Graph data question
I have a graph that is properly displaying data for each year and then by each subsidy. However, when it displays data for the current year (2006), for the subsidies with no current data, it carries over the data (the sum of the total) from the previous year for the data points. There is no bar on the graph which is correct, however the data point from the previous year does display. For subsidies that do have data for the current year, this ...Show All
Visual FoxPro Primary key + delete....
General Design Question…. Suppose I have a table (Table1) with a primary key (PKId), if a user deletes a record then wants to add a record with the same PKId value there is a Primary key violation because the table has not yet Been packed. What is the best solution to this I have Considers the Following… 1) Indexing on PKId+!deleted() , but this would only solve the problem if he delete the record once, what happens if h ...Show All
