Lazo's Q&A profile
SQL Server Dataset and Filters
Hi ! I have a quick question. If i have a report that show invoice by suppliers. Sometime i would like the report to diplayed all suppliers and sometimes for only one suppliers. Can i do this using the filters property of the dateset Or did i have to create 2 reports. One for the case All suppliers and the other for the case Only one suppliers Thank and sorry about my bad English ^_^ Just play with the parameters 2 ways I can think of 1. Add a "ALL" parameter above all suppliers (need to play with your DataSet query with UNION) 2. Use the multi-value option provided in report parameter (it'll end ...Show All
Visual Basic TableAdapter Query Question
Hi All, Quick question, when I create a table adapter query like SELECT salary FROM employeetable WHERE employeename = and name it GetSalary when I call the query from within the code it asks for an Integer value for the parameter and if I put in an employee's name I get an error stating that the string value cannot be converted to an Integer. Why is it that it asks for an Integer value even though employeename is defined as text in my database Thanks very much Colin A couple of things to check. If your using 2005 Select the tableadapter on the form. Click to the smart tag and Edit ...Show All
Visual Studio Express Editions Visual Web Developer 2005 Express Edition - ASP 1.1 or ASP 2.0
If I use Visual Web Developer 2005 Express Edition can I develop in ASP 1.1 Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39 David was right, VWD will only allow you to do development of ASP.NET 2.0 applications. Sorry. HTH, PEte ...Show All
Visual Studio Big image causes blank pages even after scaling it down and deleting it!
Local Report. I'm not sure what the issue is here but my problem started with print layout having too many pages - adding a blank with header and footer for each real page. I made sure that nothing was near the margins and even set the margins to .5 for each report and subreport. No good. So I searched the forum and found other complaints about this. One person said that he recreated the report and didn't have the problem after that. So I began with a new main report and started adding stuff to see when the problem started. Once I added the icon, that did it. The image is embedded in the report so the image1 source is set to embedded a ...Show All
SQL Server Configure Report Server with SQL Server Express with Advanced Services.
I'm having a world of trouble with the Reporting Services Server. The install went fine. I went in to configure the Report Server and when creating the Report Server and the Report Manager virtual directories I get the following error: "The virtual directory could not be created. The previously set virtual directory will still be used." The problem with this is that I have not previously set a virtual directory. When clicking on the link I get the additional error information: "System.IO.FileNotFoundException: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System. ...Show All
Smart Device Development close form on windows ce 4.2
Hi, I wan't to close a child form but "this.close" or "this.dialogResult" doesn't exists. What do I have to do then Grtz Annihil8 If you are using C# you could try the Dispose() method on your form. That will close it for sure. If you want to hide it try: form.Visible = false; form.Refresh(); If you want to exit the app completely try Application.Exit(); ...Show All
Windows Forms underlining part of label text
Hi there, I have a label named "lblAnswer" and I want to set part of the text to underline for example: "I want some food". How do I do this Thank you in advance. houseofmusic I think you can't, For some controls where you could use &X to underline X, surprisingly it doesn't work. ...Show All
Visual C# Merging namespaces as one
Is it possible to merge multiple namespaces as one The reason I want to do this is because I want to inherit someone elses control, but use my own namespace. Using my own namespace stops the UI design tools from working. What I need is to be able to make C# think my control exists within the other name space, while still existing in my namespace. Maybe I'm asking for to much. Namespaces exist to create seperation. You can't fool the IDE into thinking one namespace is the same as another, although you can use a using statement to make a namespace part of local scope, obviously. ...Show All
.NET Development 'Dispose' : is not a member of
I get this error for any implentation of Dispose error C2039: 'Dispose' : is not a member of 'Microsoft::DirectX::AudioVideoPlayback::Video' c:\windows\assembly\gac\microsoft.directx.audiovideoplayback\1.0.2902.0__31bf3856ad364e35\microsoft.directx.audiovideoplayback.dll : see declaration of 'Microsoft::DirectX::AudioVideoPlayback::Video' You should invoke the destructor, '~Video' instead I'm creating a media player, and without this Dispose method, ram gets eatin up like crazy and after loading two or three vids, you notice a performance issue. I might note I'm writing in Visual C++ as a Windows Forms Application. Dispose won't work ...Show All
.NET Development (.NET 2) SSL Stream ans async write
Hello, im using the new SSLStream class from the .NET framework version 2.0. My stream is using async functions BeginRead and BeginWrite. When i send multiple packets very fast with multiple BeginWrite calls then i get the following exception: "The BeginWrite method cannot be called when another write operation is pending" Is there smth i do wrong Shouldnt the stream itself take care about pending packets and queue them I never had problems before with normal unencrypted sockets in my apps. Thanx Alex According to the developer that wrote the SSLStream class, this behavior is because SSLStream designed to work on any generic trans ...Show All
Visual Studio Team System Team Foundation Server permissions not working as documented
Hi, In a team foundation server, we created a team project. Added three groups in the project say G1, G2, G3. Added myself in all three groups and made sure that I am not part of any other groups especially "Project Administrators" and "Team Foundation Administrators". For G1 we keep both "Allow" and "Deny" for "Delete Team Project" unchecked. For G2 we keep "Allow" checked and for G3 we keep "Deny" checked. Then as per article http://msdn2.microsoft.com/en-us/library/ms252587(VS.80).aspx I shouldn't be abled to delete the team project. But I could delete team project u ...Show All
Software Development for Windows Vista Entry Point Not Found
I can't run compiled exe on Win2000/NT cause of "The procedure entry point getaddrinfo could not be located in the dynamic library WS2_32.dll" error. I found how to fix this for for VS 2003, but there are no topics available for 2005. Can anyone help me fix that. I am moving to the windows folks since they might have more details on the error. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Confused whether to generate a nextNumber or to use Autoincrement
In my office we generate an unique ID on a table by doing something like: Declare @ID int SELECT @ID= ISNULL(MAX(@ID), 0) + 1 FROM MyTable Are there any benefit in using this methods rather then the Autoincrement functionality provided by sql server Could somebody explain which method is better and why Hi, I think there is a benefit is that you will not has gaps in the ID field if you rolled back your transaction. if you have an identity field in a table and the next value for example will be 100 and you make an insert statement then rolled back the insert then the next insert statement ...Show All
Visual Studio Visual Studio 2005 and Visual SourceSafe 2005
Hi all, Current Situation: - 5 Developers - VS 2005 Pro and VSS client plug-in installed on all 5 developer computers. - VSS installed on a development server. Already created a VSS Database with 2 projects/folders (let's call it A and B) Question: How do I use the shared VSS project from VS 2005 Pro Thanks in advance. Lucas Here is a good place to start: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvss/html/vssbest.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/tdlg_rm.asp In general it should probably go like this: First user ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Displaying Static Background with DirectX9 Example?
Can someone help this poor DirectX newbie by pointing me to an example of how to display a static background from an image file using C++ (or C#). I've read that the way to do this is to create two triangles from vertices, load the image into a texture and map the texture to the surface. This sounds great but I can't figure out how to do it from the DirectX docs. Currently, I'm trying to do it by loading the image onto an offscreen surface and using UpdateSurface() to copy it to the back buffer. This works great, except when I switch to another application or point down at the task bar the background disappears! So I'm trying to do it anothe ...Show All
