aLfer's Q&A profile
.NET Development Return as String size limitation?
All, Does anyone know of a size limitation when returning a string from a web service We are returning a string of XML from our data layer and it appears to get cut off at a certain size. Thanks I am executing a SQL query with the 'For XML Auto' statement. I use 'ExecuteXMLReader' into a datareader. The XML is cut off at this point. Seems to be always in the same place. So is it a limitation of the data reader ...Show All
Visual Basic running a C# project in VB
Hi, I have made a program, that starts in vb.net, getting all the data needed, but the output is in C# (using CsGL, but that doesn't really matter).Prob is, I don't find a way to get the data from the first one (the vb prog) to the second one (in C#). Meaning is that, after a button is pressed, the C# window is opened and gives the results. Anyone who knows how to do this cause I really don't find anything about it (I guess that there arent many people who a technique like this, why would they anyway :)) have a look at message queueing, you can pass data between applications with this ...Show All
SQL Server TSQL Strored Procedure
I am having an issue when trying to pull data from Oracle into a sqlSERVER TABLE. I'm running into an issue because I am using to much temporary space in Oracle because the return set is so large. New to sqlserver, but in Oracle the solution would be to commmit the insert after so many records have been retrieved. Here's the procedure I wrote I would think I need to add a cursor and a counter which be used to do a commit after so many rows have been retrieved. DOes so one have a procedure I could model mine after ALTER PROCEDURE [dbo] . [SP_Load_BO] -- Add the parameters for the stored procedure here @p1 int = 0 ...Show All
Visual Studio Express Editions Numeric Problem
Hello, I am currently writing a gemetric multigrid solver as an exercise at univeristy. Until now i have developed the solver with gcc. But I want to port this project to Visual C++ 2005 Express. My Problem is that exacty the same code compiled with gcc give me the right results. But if i compile it with Visual C++ the program runs but do not give me the right results. The solving process is iterative so the defect is getting smaler with every iteration. Here is a comparision between VC and gcc: Visual Studio 2005 Express: gcc: Iteration &nbs ...Show All
Smart Device Development Pocket PC serial number
How can I get the serial number (via code) of a PDA device I've found a link on http://samples.gotdotnet.com/quickstart/CompactFramework/ the returns the device ID (serial number), but this is of the form 8E0000E5-8B82-A17B-0038-0050BF1977E0. The serial number of my PDA is 2CK504106L, but when I run code from the above link I got a serial number in the the above format and not my PDA's serial number. Any ideas anyone Thanks Hey Coss , I have also got stuck on same problem. have you got any solution for same If yes plz plz plz let me ... thanks in Advance.. (e __; b (e ...Show All
SQL Server Security Question
One of the requirements for my cube is to hide identifying information (namely the customer's ID) from invoice records. I have already configured appropriate dimensional security, but how do I hide certain columns from direct queries against the fact table Thanks in advance -PMP Dimension security should do it - any query against the cube by members of the role would never include the identifying info. It sounds like you want to secure sql queries to the fact table In which case you'd need to configure sql. ...Show All
Visual Basic RaiseEvent in inherited classes
Sorry if this is a FAQ: I've read the error notice in help (VS 2005 Visual Basic Express Edition beta 2) saying that I have to "move" the declaration of an event into the class I want to use it in. Doing that means that the Dim WithEvents myvar As ParentClass in the MainForm module causes an error because the class doesn't have any events. My problem is that I want to Dim the parent (mustinherit) class because I want to be able to choose at run time which of two inherited classes I want to use; and I want to use a common routine in the MainForm to display changes in the class. I've tried declaring this in the child classes: &n ...Show All
SQL Server best way to clean up temp files
I have a custom Data Flow task that creates temp files to the system temp directory during processing. A lot of times, we'll use SSIS to do one data transformation, running and tweaking the package along the way... we do this in the designer ... if we notice something that's incorrect in the data view, we just hit the stop button and fix it. However, when we do this, the Cleanup() function isn't called, and my temp files are left in the temp directory, when they really ought to be disposed of. Is there a method that gets called every time when the DtsDebugHost quits, whether it finished, didn't finish properly, or was stopped in the middl ...Show All
Visual Studio Team System VS team and VS professionalb differences
does the "out of the box" visual studio 2005 professional include unit test and fxcop utilities or would I need VS Team for Software Developers i've looked at the diagram on the VS team site and it looks like all team editions use VS2005 professional so I'm hoping someone will explain the differences. http://msdn.microsoft.com/vstudio/products/compare/default.aspx Visual Studio 2005 Professional does not include static analysis (FxCop) or unit testing. But you can install the stand-alone FxCop , and some third-party unit testing tools like nUnit . ...Show All
Visual Basic Build Web page from build menu
I have Visual Webdeveloper 2005 Express edition and I want my codes behind to be compiled and stored in a bin directory of my application. In an companing book which I have from Microsoft it says that I have to go to the tool bar, select "Build" and then select "Build website from Build menu". The problem is that I cannot find such a facility anywhere. I was trying to see if the Express version which I have can be configured but I have exausted my resources. Can anyone help me to find out how I can (compile my source codes into a dll file) or as my book says "Build the site from the Build Menu. I want to sto ...Show All
Windows Forms How do you catch the delete event on a datagrid
Hi All, I have a datagrid that works. When the user presses the delete button on their keyboard it seems to delete the row from the grid. How do I know what has been deleted from the grid so that I can actually remove it from my actual data. Is there an event I catch or can I compare the data in the grid with my data source. Please help, Danny PS. I am using VB.NET 2003 (C# answers are fine) The Data Grid View FAQ here should answer your question - http://www.windowsforms.net/Default.aspx tabindex=5&tabid=60 From the FAQ - "When the user selects a row in the DataGridView and hits the delete key, the UserDeletingRow event fires." ...Show All
Game Technologies: DirectX, XNA, XACT, etc. OSD Please Help
Hy guys! First of all: My English is bad. I want to write an OSD that overlapps everything i mean really everything. I want it for helpful use in Games so it have to overlap an active DirectX9 Application everything is there Keyboard shortcuts works but i realy don't know how to overlapp an Fullscreen Running Game... so please help me thx First of all thanx for the help but if i try to make the overlay visible (radio buttons) the app crashes causing: Faild to initialize the overlay manager: Error in the application. -2005532537 (DDERR_INVALIDPIXELFORMAT) why did the error happen ...Show All
Visual Studio Express Editions Is Visual Basic 2005 Express interpreted or compiled?
I have looked through a lot of literature, but it seems difficult to find a clear answer to this question. I can see that VB generates P-code, which is interpreted and therefore executes much slower than compiled languages, but some literature indicate that it may be possible to compile the P-code and generate a fast executing program. C is a terrible language so I am looking for a good, strong alternative, but in practice it seems that there are only two alternatives - Delphi (Pascal) and VB. Delphi is based on Turbo Pascal, which is en extremely slow implementation of Pascal - approximately 5 to 10 times slower than FreePascal. Be ...Show All
Windows Forms Getting screen location of HTML elements inside a Webbrowser control
I'm working on a C# win form application in which I need to render a web page in a control, and get the screen coordinates of the rendered links. I've got the web pages showing up ok, but I have had no luck getting the actual screen locations. I've used the Webbrowser.document.links[index].offset values, but these are not the correct values at all. Does anyone know of a way to quickly identify the screen location of links in a webpage Thanks Ken ...Show All
Visual Studio Team System Sharepoint Services or Sharepoint Portal Server required?
Hello I have Sindows Server 2003 SP1 plus latest updates, and am trying to install Team Foundation Server. It says it needs Sharepoint. Does it need Sharepoint Services or Sharepoint Portal Server Sharepoint services is a very small install, if I can get away with that, I would prefer that. If Sharepoint Portal Server 2003 is really needed, then I will install that. Thank you David I have installed Windows Sharepoint Services on a Windows 2003 Server SP1 and SQL Server 2000 on a separate Windows 2000 Machine. What you have to select during install is the Option "Server Farm" during the SP ...Show All
