Ben Weber's Q&A profile
.NET Development how to represente xml Document(elements and attributs)in TreeViewer
I am student and i am biggener user of c# I want to represent xml document on treeviewer can any personne help me thanks Sorry. I don't understand last sentence. If this is the question, can you rephrase it. If your initial issue was resolved, but you have new (even related) questions, sometime it helps to start new thread and explain them from blank sheet. Thanks ...Show All
SQL Server Parameters
SELECT CodiceCliente, RagioneSociale, Articolo, Comma, descrizione, Area, dtDeroga, dtFineDeroga, SuContratto, Parametri FROM MasterDeroghe WHERE Articolo = ( CodArt) I want to pass a parameter at a report of reporting services with this query but this query don't conceid it. why what's wrong My database is access Hi Robert, Thank you sooo much for your help! This is just so simple and easy! COOL~! Concerni ...Show All
.NET Development Controlling Framesets with ASP.NET
Hi All, I'm working with Microsoft Visual Studio .NET, and I'm developing a website which has 3 frames (one in the top, and the rest of the page is divided in a vertical menu and the main page). In the top frame, I've added a Log-in form, where the user can sign (at any time) in order to view some protected pages *.aspx. However, I also have a standard LOGIN page, which is defined in the Web.config file, to where the user is redirected if ...Show All
Smart Device Development Problems with Vibrate API
Hi, I am using the Vibrate API is C# after PInvoking the native API. [ DllImport ( "aygshell" )] extern public static int Vibrate( uint cvn /*0*/ , IntPtr rgvn /*null*/ , uint fRepeat, uint dwTimeout); This is my call: int result = VibrateAPI .Vibrate(0, IntPtr .Zero, 1 , 10*1000); For some reason I cannot get it to work. Thanks, Piali I've been unable to find the vibrate API working cod ...Show All
Visual Studio How to remove vs2005 beta 2
I found plenty of information are removing previous versions of Visual Studio 2005, and I'm trying to remove beta 2, and add/remove programs is failing for me with the following error message "setup is unable to determine a valid ordering for the installation" is there a list of directories to delete, registry trees to prune, and guids to to run on the Windows installer cleanup utility that will remove Visual Studio 2005 beta 2 from&nb ...Show All
Visual Basic Why does DEBUG (F9) not work? How do I get it to work?
Why does DEBUG (F9) not work How do I get it to work Michael I assumed your where not making Breakpoints .... Your first comment wasn't really very descriptive. But... You are correct then. F9 is to make/remove a breakpoint, F5 to start debug and F8 to step into. I assume since you marked your own answer as right that the reset worked ...Show All
Visual Basic VS.net 2005 slow WebSite build times with Visual Basic
I've recently upgraded to vs.net 2005 and after building a few websites, I've started to notice the lag times when building a solution. In the past, a solution would take at most, 10 seconds to build. Now I'm experiencing 10+ mins to build a project. Has anyone else had problems with this I've read others with this particular problem and they have done various things like delete the registry settings, and other such extreme methods. ...Show All
Smart Device Development windows mobile 5 development
Hi Can anyone guide me that where can i get examples for database connectivity and displaying data in Grid thanks Are you talking about C++ If yes, start by writing DataGrid because there's none. If that's C# or VB, you're in the wrong forum. Anyway, sample for managed DataGrid is available here: http://samples.gotdotnet.com/quickstart/CompactFramework/doc/datagrid.aspx Also please see this: http://msdn.microsoft.com/smartcli ...Show All
.NET Development Implementing a Web Service Wrapper
Hello. I'm implementing an application server where many clients from other Enterprises to our server using different messaging methods (Message queues, sockets, web services and others). In the way the architecture of the solution is made, each client must have a MessageProvider class for the connection method they're going to use. I have already built the MessageQueues messaging provider. The problem is with web services. Since each client has ...Show All
Visual Basic making images with buttons
i want to make a program where when you check a check box it shows an image.what kind of coding does the button need You need to make a form with a checkbox and and picturbox on it and use code somewhat similar to this. Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If Me.CheckBox1.Checked Then Me.PictureBox1.Load ...Show All
.NET Development ProcessorArchitecture determination using IHostAssemblyStore
How does the CLR determine the ProcessorArchitecture to include in the Ref Identity when it calls IHostAssemblyStore.ProvideAssembly I have a native application using the CLR Hosting api's. All of my application's assemblies are bundled in a single file, along with metadata describing the assembly identities. These identities are obtained using ICLRAssemblyIdentityManager.GetBindingIdentityFromFile. When my application loads, IHostAssemb ...Show All
Visual Studio Adding an image to a Crystal Report from a memorystream.
Basically, i'm using a Charting tool in a webbased app to export a chart as a memorystream. The image itself is in PNG format (can also use BMP if needed). How do i import this memorystream into a PictureObject in a Crystal Report Or is what i'm trying to do impossible I've been looking around the internet, and it seems like i should be converting it to a byte array, and then sending that to CR, but that doesn't seem to work either. I was ho ...Show All
.NET Development Get connection string from app.config file
How do i read my connection string from app.config file I also know that connection string is saved in settings.settings, but i don't know how to get value from there either (I found info about this only for vb, not for c#) Here is the app.config file: < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="userSettings" type=" ...Show All
Visual Basic BC30002: Type 'System.Net.Mail.MailMessage' is not defined
Hi all, I've just started developing with VS2005 Express beta 2 edition. I'm trying to get my app to send a mail to users on submit of their details, but when I try and run the app (before I even get to the submit button) I egt the above message. I attach a snippet of code: - try Dim objMsg As New System.Net.Mail.MailMessage(fromaddress, toaddress, subject, body) Send ...Show All
.NET Development Network Programming
Hi Folks, I am in the process of writing a network server that'd cater to 10,000 clients(scalable to 20000) My main target is reliability with speed. I am using sockets using tcp & udp . And need to design a simulator to simulate 10000 client connections. Has anyone designed it so far if not how to go about doing it Is it possible to do this using vc# alone or do I need something else too. Another question off ma hea ...Show All
