Dymatron's Q&A profile
Visual Basic Optimizing application
I found the program I wrote (The keystater one again) uses up 16mb of memory which is riddiculous. It is designed to be a program that will run in the background without eating tons of memory. I have set up 5 tray icons (only 1 is visible) because I can't get the ico in the res file to go into the tray icon. (I get can not convert bitmap to icon). Make sure everything that can be closed or disposed is. And.N ...Show All
.NET Development "Access is denied" errors from CounterSample.Calculate (new with RC1)
With the RC1 build, I am seeing a new problem that I haven't been able to find a solution to. We have a WinForms app that uses a remote object hosted in a Windows NT service. The service runs as the Local System account. We are sampling performance counters and logging results in the remote object. Because Local System doesn't have the right permissions to read the performance counters (which may be on a remote server), we pass credentials ...Show All
SQL Server Reporting Services Setup Issue
Hi All, I am running setup.exe (RS 2000 Enterprise), and ra issue during the following step - "specify credentials that are used at run time by ReportServer service to connect ot SQL Server Instance..." My local SQL Server is running under "Local System" account, and I have SQL Server 2000 SP4 installed on Windows Server 2003. Any help to resolve this setup issue is much appreciated! -Lawrence ...Show All
SQL Server How to change data Dynamically in report services
Hi, Please help me. I created a report and works fine but I am wondering how to change data dynamically. For example I have different data base and want to run the same report in different places I can't go and change the report each time. Any suggestion please Thanks in advance. You should change the query so that instead of returning one column per day you "denormalize" it to return one ...Show All
SQL Server Dataflow slows dramatically down after passing 1.6 million records ?
If i have a dataflow witch moves records from one OLE DB Source to a OLE DB Destination, the step slow down when getting above passing 1.5 - 1.6 million records.The Source is a SQL 2000 and the Destination is SQL Server 2005. the Package is run from a laptop with 1.5 GB ram What can i try to help it Use the Windows Performance Monitor (Administrative Tools-->Performance). In there, there is an IS object conta ...Show All
Visual Basic Console and windows application in vb.net
Can I add a windows application to my console application In other words can I have both under one .exe file I know that I can add a form to a consol application and it will appear once I run the .exe file but the thing is that I can not interact with the form. It’s like freezes. Hi, If your form freezes then I think you have some sort of loop in your command application. I ...Show All
Visual Basic Decent Source Code Site - Visual Basic 2005
Hi, Want to know if there are any decent Visual Basic 2005 source code sites available yet. Have lookt all over and can only find vb.net (which the conversion does not always do correctly) and allot of vb6 code. I have found that no matter how may tutorials you read and how many books you get none of them cover what you want to to cover. Since 7 Nov 2005 I'm trying learn VB 2005. My problem is the same: thoudends of pages wit ...Show All
Visual Studio Express Editions Hash Table Question
Hi, what I need is as follow. I have a class that contains a string. ref class WordObj { public: String^ string; Int32 info; // further data }; Now I want to add such WordObj to a hashtable. myHT.add(wo->string, wo); As you can see, the string inside the WordObj is the key. Is it possible to prevent the hashtable object to store the string twice Once as key and a second time as part of the stored object. It is important ...Show All
Visual Studio VS 2005 Install Error 1303 -insufficient privileges to access c:\inetpub\wwwroot\aspnet_client\system_web\2_0_50215
Sorry too late - I decided to rebuild the machine this morning! Thanks anyway ...Show All
Windows Forms smart devices
I was wondering if there is a way to specifiy the application bin in a smart device application, similar to a regular VB windows application where you say: application.startuppath I want to read/write a file from the bin, and want to be able to ...Show All
Windows Forms Tracking Concurrent Users
I have a Winform/VB.NET application that runs through Citrix. I need a idea on how best to be able to keep track of concurrent users in the application. The application logins are stored in a table in SQL Server 2000. The purpose of tracki ...Show All
Visual Studio Express Editions Setting page size in code
Hi, Can anyone help with this please I am trying to set the paper size for the print page method in code, however, It fails to change I have tried many properties and ways of setting it but it fails Basically I have a app that saves the page size to a xml file as an interger value that represents the paper size. Eg 8 = A3. I cannot seem to change the default value of the PoPrintPage_Printpage method from the value of 9 (A4) ...Show All
SQL Server User Instance=True causes invalid connection string
Whenever I use "User Instance=True" as in the connection string below, I get an invalid connection string error. If I take it out, the connection string generates other errors. "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;User Instance=True;AttachDBFileName=|DataDirectory|\DbName.mdf;Data Source=.\\sqlexpress;" Removing User Instance=True always eliminates the invalid connection string messag ...Show All
Visual C++ Is there a tool to visually map out classes in a project?
I'm a novice C++ developer for an engineering firm. I was tasked to maintain and continue developing a hardware interfacing system. It is purely object oriented and consists of more than a hundred classes derived from dlls, resulting in quite a mess. So, it would be help to give me an overview of the interdependencies and structure of the system if there's any software or tool capable of visually mapping out the system ...Show All
Visual Studio Express Editions Read Serial Port Data
Hi I am trying to read data form a Serial Port, below is the VB Express Code Snippet that does this, as supplied in VB Express. This does work however I cannot get it to place the text in a multiline Textbox. The data is repeated as a 56 character string approx every 1 second. What I want to do is read the string place it in a textbox, go to next line, read the next 56 character string and write that to textbox. Ultimately I will have a textb ...Show All
