Steve Dunn's Q&A profile
Visual Basic How to retrive from a databbase using vb.net
i want to make a search box and when the user for something i want it to search it the databse and show the resultat. can someone help me how we do this with the code. tanks I have given an example in my code ;-) To me it seems you do not know SQL Server, so I would suggest you learn about it :-) It is mandatory these days to know SQL Server. a SQL Server query is just a query which returns results (for example) with a certain criteria, as I had posted. ...Show All
Visual Studio Team System What is the ideal load test pattern?
Hi, Wondering what could be the ideal load test pattern for a web application Need this information in terms of the following: 1. Think Times 2. Load Pattern (For both Constant and Step Load) 3. Network Mix 4. Run Duration Following is an example for the same. 1. Think Times:Recorded Think Times 2. Load Pattern: Step Load starting with 500 till users reach 15000 3. Network Mix: 56K dial-up 4. Run Duration: 3 Mins The ideal load test pattern is the one that most closely models the actual expected load that will be placed on your server(s) in production use, which is different for every application, so that is very hard to say. However, for some guidance, check out the section entitled "Cho ...Show All
Visual Studio VSS 2005 Archive error
I recently migrated our VSS to 2005 version from 6.0. I analyzed the data and fixed the errors and now there are no errors found. Now when I try to create an archive of our database, I get this error "Compression error:compression block may be corrupt". When I click Help button on this error dialog, there is no help found and I see it was looking for ERS_STR_COMPS_HDRCORRUPT. I could not find any documentation for this error. When I used the command line utility ssarc, I get the same error. I was installing VSS 2005 upgrade and so did not remove VSS 6.0 before installing 2005. Surprisingly, VSS 2005 did not ask to update current 6.0 installation. Both 6.0 and 2005 co-exist on my machine. I tried to use ssarc from VSS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. combine c++ and c#
Hi everybody, I wish to know, if it's possible to combine c++ and c#. I mean, if I create a DirectX device using c++, could I draw it in a c# window. I'm not so confortable with c# and I 'd like to develop a 3D modeler based on c++ with an c# interface (I suppose the easiest way to create fancy user interface). Thanks for your help My guess would be that the fastest solution (in terms of performance) will be to use managed C++ library (the first one). But managed C++ is very very complicated to use, it will be much more painfull than just to learn C#. Actually I think that you should not underestimate performace of C#, I think that in most cases it will not be easy to make faster code with ...Show All
Visual Studio Tools for Office How do I find text in a MS Word doc using VB2005 express?
How do I find text in a MS Word doc using VB2005 express Can someone point me to some sample code perhaps Thanks Kim Ref your question about what I am trying to do. I am a retired engineer who is working with a citizens group that operates a non-profit wireless internet system in eastern NC. All of our equip came from a state grant. We are trying to improve economic conditions in the area and because the area is very vulnerable to hurricane damage, provide backup emergency communication in the county. We do this with a group of volunteers. The objective of the applications that I am trying to write is to computerize our database so that we can keep our costs down and the service running. The first form that I have running on my m ...Show All
Visual Studio 2008 (Pre-release) Change rectangle property from code
Hi guys, i've got a rectangle i've drawn in a grid, how can i change its propertys from code, i think i need to build once or something, should i be using X:name or something...FindName, i'm a bit lost, thanks guys si ok, i've got the .g.cs files and i can see the Xpad1 and Xpad2 in there, the app compiles, i've set the Name property and tryed the x:Name and still no luck, i've cleaned and rebuild the solution, the app compiles, in the code initializeComponent(); is red like its missing, not sure if that apply because this is WPF, also my Xpad1 and Xpad2 is red, they are just not there, any other ideas, btw thanks for the help man, this is killing me off. ...Show All
Software Development for Windows Vista How can i download vista beta 2?
can anybody help me to download windows vista beta Go to this site and sign up for the beta or download the CTP Release. http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/ ...Show All
.NET Development What would you do?
Hi! I'm thinking about of a application design, and have some dudes. The app, has two parts, one server and one client. The server must got a lot of registers from a several tables and views from Oracle database for modify it. The clients, connect to the server and got a register per time, modify it by hand and send again to the server to update de database with the corrected register. I thought in a big DataSet that contains the data, and then the server respond to a client with a one row when the client query it, and when the client send the corrected row to server, server update the database, but... how to do it Remoting or serialization SingleCall or Singleton What about multithreading and server cpu overhead What would you do in th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shader Versions
I'm currently reading Wolfgang F. Engel's ShaderX2 Introductions and Tutorials with DirectX 9. So far, all SM 3.0 examples are written in asm. Is SM 3.0 supported by XNA And can it be written in HLSL Thanks. -Nick Ok, that makes sense. I'm also reading that the Effect framework is very useful for creating shaders. I'm familiar with Cg and OpenGL, and HLSL itself seems familiar... but Effect files look very foreign. Are there any resources that you'd recommend for learning them I'm considering this book: http://www.amazon.com/-COMPLETE-Effect-HLSL-Guide/dp/0976613212/sr=8-1/qid=1157044917/ref=pd_bbs_1/102-2706553-5240118 ie=UTF8 ...Show All
.NET Development Failing to Catch Exception
Hi folks, I have a WinForm app, written in MS Video Studio .NET C++ 2003, that examines folders in the systems main drive (ie. C:\). Whenever it comes across the "System Volume Information" file, access is denied and the program presents a dialog window indicating the following: "An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll. Additional information: Access to the path "c:\System Volume Information\" is denied." I've tried catching this exception, but can't seem to do it. So far I've tried: catch (IOException* e) { } catch (System::UnauthorizedAccessException* e) { } But neither seems to handle the exception. What exception should I be tryin ...Show All
Visual Studio Express Editions Row will update/delete but won't save without error
I know this has been asked before but, as an almost total beginner, I went round in circles with the answers given. With that in mind, please accept my apologies for being dumber than a bag full of dumb things. Anyway, what I'm trying to do feels as though it should be really straightforward, but I'm damned if I can figure it out. I have 2 forms in a simple database program. The main form has nothing more than a datagridview, and a button to add new records to the members database. I use a 2nd form because the data that can be entered is far more extensive than I want the datagridview to display, so I disabled the entering of new records on it. The addmember form is fine, and will save ok, and even updates the frmmain.datagridview, on clos ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The woes of boxed objects (and foreach)
Here's another post by someone who has learned everything through mistakes, not learning it right in the first place . :) I've been working on some nasty GC issues on Xbox360 for some time now, and through RPM and CLR Profiler I've started to make some sense of things, so I thought I'd let everyone in on my experience so that the next guy (or gal) with these issues can have some info. So here's the story: Remote Performance Monitor showed 240 boxed value types per delta. Having no idea how I was creating boxed objects (or what they are), I ran the CLR profiler--as it would happen, I had 4 foreach calls per frame--for a postprocessing effect. According to CLR Profiler, the foreach calls were creating System.Collections.Generic.List<T> ...Show All
Visual C# Implementing Single Sign On??
Hi.. What does single sign on refers to How to implement single sign on functionality using c# Musafir wrote: Thank you for your reply. Now i am able to understand what to do . I will post comment, after trying out. Thanks a ton Did you tried out ...Show All
Visual Studio Tools for Office VSTO ADE
I know to get the stand alone VSTO 2005 that has the Access Development Extension I need Office Pro 2003, what I am not clear about is if upgrading from 2000 Pro will be sufficient and if having a charity licence makes any difference. Thanks, Dani Hi Dani Upgrading shouldn't be a problem, about the license I can't be sure. I'm assuming it will have Access, in any case. But if you can check in the upgrade version you're being offered in Word: Tools/Templates and Add-ins whether the dialog box has a tab for XML Schemas If it does, then you should be OK. The critical point is that Office contains the XML "hooks", and if this interface is present, it does. ...Show All
Windows Forms How do you make a Favourites Menu
hi, Iwas just wondering if anyone could tell me how to make a favourites menu from scratch and how to program it in C#. Thanks, Zulbaric it is generic! The code supplied does just that and have explained how to do so to set the current page and add it into the array. Re read again and step through the debugger to see whats happening and watch the array collection also ...Show All
