Topics
-
- 1 reply
- 954 views
Ok, at this new job of mine, we have 10 something stored procs. DBA says there are performance issues with a lot of them...he said maybe 400 but he doesnt know which ones... I know I can turn on Profiler and look at Stored procs. ( he has profiler running all day long)..but what I want to find out is can I turn on Profiler (or something) on specific Stored Procs (or a set of stored procs) to see loops, exception path, etc ?? Basically What is the best way of monitoring SPs and finding out which ones need redesign and tuning etc?
Last reply by iebidan, -
- 3 replies
- 656 views
Hey All, I have a form which is an MDI Container. I open another form via a toobar. Now the form I open has a BorderStyle of None, Control Box = false aswell as the minimize and maximize buttons. when the form opens it gets maximized but then a little title bar shows up with the default icon. Is there any way of getting rid of it. Thanks.
Last reply by Diesel, -
-
- Administrators
- 8 replies
- 1.3k views
Hi Guys: I have an interesting delima. I am trying to send data over a network, the data I am sending contains UNICODE values, but the recieving end needs to get the ASCII value of each byte. I have a server and client. The client sends data to the server and when it gets there it comes out as "?" question marks. Server Recieval Code: Dim networkStream As NetworkStream = objTCPClient.GetStream() ' Read the stream into a byte array Dim bytes(objTCPClient.ReceiveBufferSize) As Byte networkStream.Read(bytes, 0, CInt(objTCPClient.ReceiveBufferSize)) ' Return the data received from the client to the console. …
Last reply by Nate Bross, -
-
-
- Administrators
- 3 replies
- 787 views
Hey guys, I've been writing a program that does a specific task at a set time, and it can now execute files. However, I also need it to be able to shut down the PC too. I've written this before, but it only worked on win9x machines with VB6, and now I'm working with XP in VB.NET. Are there any ways to shut down the PC through .NET? And how might I go about this? I've googled, I've searched the forums, I've asked Satan himself. Can't seem to find anything. [Edit - forgot to subscribe. Duh.]
Last reply by CryoEnix, -
-
-
- Administrators
- 4 replies
- 900 views
Okay, despite what Microsoft wants me to believe, I know there has to be some 'auto generated' code somewhere...the other half of these 'partial classes'... where are they?
Last reply by bri189a, -
-
- 1 reply
- 1.1k views
Hi everyone, I've connected to a site's main server using secure sockets layer in C#. I need to make a tcp connection to another machine on this site and exchange info. I can't connect my socket directly to that machine because its ip address is private ie. 192.168.1.1. All the information from the second machine must pass through the secure socket I've created with the original connection. Does anyone know how I can access the second machine? I've gone through the socket classes in the .net framework and can't seem to find anything that can make the second connection and pipe it through the first. I'm not a network programmer so I don't know if there is another way t…
Last reply by Nate Bross, -
- 5 replies
- 1.2k views
Hi I am facing a problem in every .NET Application I tried to develop. I writing a simple database application that connects to an access file. This access file has three tables and I created the user interface and did all the nessary binding. The user can insert,delete,update rows to the dataset.Everything works fine on the dataset. When I try to update the the database (access file) using the data adapter methods (Adapter.Update()) Sometimes I receive the following exception [Concurrency Excption thrown, 0 records was affected the command). This error happens suddenly and at random times when using the update method. After the exception occurs I cannot use the u…
Last reply by Khaledinho, -
-
- Administrators
- 2 replies
- 766 views
As my dynamic form creation playing is getting further I seem to be getting more problems. I'm creating a form based upon a received XML message, which may or maynot contain a call to create a new PictureBox. If it does, I create the picturebox and all that works fine. The problem I have is, if I assign an event to a button, for example to save the image from the PictureBox, the code won't compile, because it tells me that the reference to the picturebox doesn't exist, which I suppose is true as it hasn't been created yet. How can I get around this? Example of my code... // This is called if we need to add a new picturebox void AddPicture() { PictureBox im…
Last reply by mjohnson3091, -
-
- 2 replies
- 651 views
Well, it keeps giving me this error at the end of the instalation of one CRUCIAL prerequisite component which is the "Microsoft .NET Framework 1.1". The error message describe as follows: - "Failed to load the resources from resource file. Please check your setup" I have tryed to install it manualy (that is straight from the CD) several times, but the problem is the same, except for the error message: "Error registering system.enterpriseServices.dll" when the install is at zero seconds from finishing. I have Windows XP Professional up to date with Service Pack II. Please, aid.
Last reply by EFileTahi-A, -
-
- Administrators
- 1 reply
- 1k views
I have an abstract class that contains an abstract method which has many classes inheriting from it. I am thinking about changing this to a delegate, but I am wondering if there would be any reason I shouldn't (any performance difference, for example). Anyone have any ideas?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 717 views
Hi, I am developing intranet asp.net application which queries indexing service and returns data into datagrid. their is one hyperlinkcolumn. In it I have fullpath to some office documents, pictures etc... How can I do this: Whe the user click on that link a appropriate application starts on his computer opening the file in question? I don't want to copy files from server or network drives, also I don't want to display document in internet explorer. Please help I am a bit new in asp.net programing.
Last reply by ivan74, -
-
- Administrators
- 2 replies
- 889 views
I keep getting this error: "Number of query values and destination fields are not the same" I have exactly the same number of fields in my query that are in the database and they are in the same order. I even went so far as to take the parameter values out and substitute hard-coded values and it still throws up. I am not sure what I am doing wrong. Do I have to have a Primary Key for this to work? All this app does is record form data to be exported to a spreadsheet. Here is my code: Sub AddRecord() Dim strConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=\\intranet\databases\results.mdb" Dim strSQL, strPlant, strTire, strFilter, strWiper…
Last reply by Aspnot, -
-
-
- Leaders
- 10 replies
- 1.7k views
I need to change the DirectX.Device of some Texture, how can I do this? The Texture.Device is read only...
Last reply by DrunkenHyena, -
-
- 0 replies
- 784 views
Hi, When asp.net worker process or application pool recycles, is it guaranteed that the Session_End event fires for all active sessions? [bTW, I'm using In-Proc session mode, Win2003 server and IIS6.0] Any help is greatly appreciated. Thanks in advance. Srivalli.
Last reply by srivalli9, -
- 0 replies
- 1.1k views
Hi guys, I'm new here. I can normally struggle through these things, but this one has me stumped. I'm using the Sprite interface and I'm trying to take control of the render-states manually, so that I can set DestinationBlend to Blend.One, to get that neat 'intensity' effect when you're drawing a particle system. The kind of effect that makes one particle the default colour, but the more particles you add to the same spot, the brighter it is. Anyways, that's mostly irrelevant. Here's the code I'm using: if(_device == null) return; _device.Clear(Direct3D.ClearFlags.Target, Color.Aquamarine, 1.0F, 0); _device.BeginScene(); _device.RenderState.Lighting = false;…
Last reply by Estauns, -
-
- Leaders
- 9 replies
- 1.8k views
Recently I've still been reading a lot about people who are really against Microsoft (many of the VB6 developers) for not having created VB.NET to be more compatible with VB6 (thus the petition they were signing.) I understand their point and concern about Microsoft no longer supporting legacy applications (after 2008) and that they could similarly drop support for VB.NET users in the future if they decided to make another major upgrade. Some have said "they did it once, why not do it again. And the fact that MS doesn't really use VB for any of their own applications." At the same time, I feel that MS has really made some good changes to VB and especially with Visua…
Last reply by iebidan, -
-
- 0 replies
- 3.9k views
Anyone have .Net Reflector < V 3.4.6 ?? If so, I'd appreciate if you could post it up.
Last reply by Diesel, -
-
- Moderators
- 4 replies
- 810 views
I have an aspx form with a radiobuttonlist that a user can select from. When the user makes a choice and clicks "Submit", all I want to do is to go to that value in the currentTotal field and increment it by 1. Here is my query: strSQL = "Update SurveyResults SET CategoryTotal = CategoryTotal +1 " & _ "WHERE Category = '~' " strSQL = Replace(strSQL, "~", strVal1) I am using VS.Net and it does not like my query and does not update the database. I am connecting (or trying to connect) to an Access db. The query works in access. I think I am making this harder than it needs to be. I would appreciate any help.
Last reply by lorena, -
-
- 3 replies
- 1.1k views
Hi, I am very new to asp.net. I want to use two buttons to navigate records backward and forwarded. How could do so. Any help pls
Last reply by bri189a, -
- 2 replies
- 498 views
Am I missing something? I started programming in VB.NET a few years back. Drop a TextBox onto a form, changed its name from Textbox1 to "txtName", then collect this textbox's value during runtime by reading "txtName.Text". Last year, I started working with Borland Builder 6.0. A few things changed when converting to Builder/C++: Now I dropped a TEdit module onto a form, changed its name to "Name", and collected the runtime information using "Name->Text". Their are other features that get a lot more involved with programming than VB.NET does, but that is to be expected. Borland's VCL is impressive! Now I am starting to work my way into VC++, and I was expecting…
Last reply by joe_pool_is,
-
Who's Online 0 Members, 0 Anonymous, 71 Guests (See full list)
- There are no registered users currently online