dino.net's Q&A profile
Visual Basic Computer take a nap every third time through a for/next loop.
Hi All, I have the wierdest problem I have come across in my 40 some years of troubleshooting code and hardware. The followinf code is simply 3 nested for/next loops. About every third time (sometimes 2, sometimes 4) through the inner, y loop both of my computers take a 15 millisecond nap. An instruction gets performed and then it is 15 milliseconds before the next instruction is performed. Nohing else is going on, there are no outside references, there are no endless loops, there is no complicated math, just simple compare statements. There is no reason for the cpu to stop for 15 milliseconds. I doubt that ...Show All
Visual Studio Crystal Reports 11 - Disable Parameters Dialog Box
Does anyone know how to disable the parameters dialog box in Crystal Reports XI. I am using C# and Visual Studio.NET 2003. I am passing the parameters to the field from the application, but the pesky dialog box keeps poping up no matter what I do. Any tips I just fought with this for the past 4 hours. Ok, here's the deal. I had a perfectly running application written in C# (2003) using an embedded report created with Crystal 9.x. After installing Crystal XI, now it pops up the dialog like you are seeing. It took 2 parts for my app to work normal again. First, I had to set the parameter property HasCurrentValue to true a ...Show All
Software Development for Windows Vista how to make default browser in my vb application ?
hi everyone, i programmed a web browser and i would like to use it as my default browser, how would i go about that im looking to make it run as default its in vb.net express 2005 regrads alex After you created your application, you will have an exe file. Just right click on the any HTML file on your computer, and select 'open with...' with your EXE. To open the selected file in your browser, use what you get on the args of main: public static void Main(string[] args) the args[0] will contain the file name you have selected to open with. ...Show All
Visual Studio Team System Large solution performance (Was: Useless output from TFS source control)
It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation completed successfully at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM --- ...Show All
Windows Forms Icons in TreeView disappear in WinXP
I uses icons in a TreeView. When the program runs in Windows 2003, it looks fine; but the icons disappear when the same program runs in windows xp. The program is built in Whidbey Beta2. In Beta1, this problem does not exist. If You have Application.EnableVisualStyles() in code remove it. It has helped me For more details look this: http://rungesrand.blogspot.com/2007/09/what-happened-to-treeview-icons.html ...Show All
Visual Studio Visual Studio 2005 perfomance issue
Well, i just converted my 10 project solution to VS .Net 2005, and i'm finding out the converted app is running very slow. There has been no real change(except i substituted ConfigurationSettings.AppSettings to ConfigurationManager.AppSettings to see if that was the performance issue) and no luck. My application connects to Microsoft SQL Server(not 2005). What may be the cause to this problem My computer is a 2.39GHZ Celeron pc with 752 mbs RAM. There was no problem whatsoever with 2003 though. Thanks. Hi. Just wondering - make sure you don't have any unneccesary background apps running or applications open ...Show All
Visual Basic Registry Entry based on User Response during Setup
Hello Everyone! I've developed an application using VB.Net. The application has to run on client PCs (in network) and communicate with Access database on the server. I need to create the setup with following requirement. 1. One user-interface screen that will have a browse button and a text box(similar to the one that's shown while selecting the install to folder). In this user will browse to find the database. I tried adding using-interface dialog but none of them allows browse feature. All are button and text boxes. 2. The database path found in Step 1 should be made available to me so that I can create a registry entry of the pat ...Show All
Visual Studio Express Editions How to retrieve month name in VB2005?
I'm trying to use this code but it generates an error: Dim thisDate1 As Date Dim thisMonth1 As String thisDate1 = DateString thisMonth1 = month(thisDate1) It generates an Error: value of type 'date' cannot be converted to 'integer' I use similar code retreive current year and it works: Dim thisDate As Date Dim thisYear As Integer thisDate = DateString thisYear = Year(thisDate) I want to retrieve current month name and assign it to string variable. How can I do that Using a Custom DateTime Format Strings try: thisMonth1 = thisDate1.ToString ...Show All
.NET Development HttpListener simultaneous connections give HttpListenerException
Hope someone can shed some light on this. I have seen lots of similar posts, but they tend to point to a client side restriction of 2 simultaneous connections, but I need to know what I can change on the server side. I have a C# webserver which uses HttpListener Note the Thread.Sleep(100) line which is to simulate getting real data to return. The code snippet is HttpListener listener = new HttpListener (); while (true) { try { HttpListenerContext context = listener.GetContext(); byte[] buffer = Encoding.ASCII.GetBytes("hi"); Thread.Sleep(100); context.Response ...Show All
Visual Studio some question In DSL Tools
hello all! after i build DSL project and run,i see there are some toolitem on toolbox in debuging solution ,and i drag item from toolbox to docview ,designer create a domain shape for me, it is great! ,but i have a lot of more powerful functions.e.g for example below: in activities diagram ,i will create some reusable complex activity components in a Assembly, then ,in a other new project, i reference that Assembly,i want add those complex reusable activities to ToolBoxWindow with distinct bitmap, and i can drag the item to the designer docview , then designer will create a shape for me. so do this ,i can reuse these bu ...Show All
Visual Basic switching keyboard languages
Hello, I have a windows form with several textboxes. On this form the user can choose his prefered language English, Arabic, or French and write in the textboxes in the corresponding selected language. If the user chooses Arabic, then he/she have to press (Ctr + Shift) so their keyboard will write Arabic. I was wondering if there is a way in VB .Net to check what language is selected and when the textbox gains focus the keyboard settings automatically change without the user having to do anything. Thanks in Advance, Grace Supported by .NET 2.0, System.Globalization.CultureAndRegionInfoBuilder. ...Show All
Visual C# C# & COM Interoperability
I'm beginer in COM, but write some projects in C#. I have a Windows Service, COM object written on C# and 2 or more VBScripts to communicate with COM object. Situation: En example: VBScript 1 make some operation with COM-object but if I start new VBScript 2 - it create it's own example of COM class and make operations with it. Question: How can I use both VBScripts with the same instance of COM-class The data from COM class (specified list) should be destroyed only after Service stopping - how can I do it Hey! That was what I wanted :-). The solution not in the incorrect coding but in incorrect registering (and in small ...Show All
Visual Studio 2008 (Pre-release) LINQ 'go-live' license
Could someone provide me detailed information about the possibility of 'go-live' lincense (if at all one being considered). I would be more interested in the timeline more than anything. DLINQ - Are there providers for all major RDBMS ( such as SQL 2005, Oracle, DB2 etc) In another thread I asked the same question. A go live license will be provided for LINQ along with the go-live for Orcas. I haven't heard any details regarding when that might be. Currently DLINQ only supports SQL Server. MS is working on the API that will allow other providers to be created, however, it is not yet available ...Show All
Visual C++ CFileDialog.DoModal() Crashes When Hint box is about to appear.
I have a strange crashing problem in an application developed on Visual Studio 2005 Standard Edition. The crash comes during a function call to CFileDialog.DoModal(). The problem seems to relate to the "hint" box that appears if you let the mouse pointer linger over a file. If the mouse pointer registers over a file with an unregistered file type, then a hint box appears indicating the file type (e.g. ".slg file"). You then open the file with no problem. If you then go to open a file again using the same CFileDialog.DoModal() function and let the pointer linger over the file, then after a few seconds, just as the hint ...Show All
Visual Studio Express Editions Standard Library missing?
Hi, I've recently started a Univercity course and I am required to do a small amount of C++ programming such as make calculators etc. These are made in the command line part of the compiler (looks like DOS) and they run there too. My question is how do I get the standard header files in Microsoft Visual Studio 2005 Express Edition to work I mean like when using: #include <iostream> The <iostream> part appears in red and says that it can't find it. In Uni I am using the Microsoft Visual Studio.net (I think that's it's name) and it has a similar look to this one I have, but I can't seem to call upon the head ...Show All
