Jon_ProactiveLogic's Q&A profile
Visual Studio Express Editions Reference an Array using a String Variable
I want to be able to pull an array using a string that I built. Is there any way to do this Here is my example code: dim ary1() as string dim ary2() as string private sub test() dim totalLength as integer dim i as integer totalLength = 0 for i = 1 to 2 totalLength = totalLength + getAryLength(i) next i end sub private function getAryLength(i as integer) dim ary as string ary = "ary" & cstr(i) 'This is the part wher ...Show All
.NET Development Securtiy
I have created a couple of applications in C# 2005 and vb.net and I want to give general access to all members of my organisation to run these. I have deployed the .net framework 2 using group policy and all works well as long as the application is no the users computer. Is it possible to use group policy to set the security levels on all client pc to tell them to trust any programme on \\myserver\software If this question is in the wrong ...Show All
SQL Server using User Defined Data Type (UDT) in a sql server 2005 database + Window Application.
Hi, I am using VS2005 C# + sql server 2005 Express edition. I need to using a database that uses my own defined data types to define its tables columns. I already have designed a Database projact and create the new UDT as follows: Create a new Database project in the Visual C# language nodes. Add a reference to the SQL Server 2005 database that will contain the UDT. Add a User-Defined Type class. Write code to ...Show All
Visual Basic Settings the Process Priority Level of the app
The program I am making requires a bit of thread time since it is meant to hold a lot of controls and objects, but I've been stuck on setting the process priority level. I've tried the System.Diagnostics.Process class and same with a bunch of the thread things, but it didn't work. If you know how to set the process priority class for your current application please post here. Thanks, Tanner Actu ...Show All
Smart Device Development MoveFile() on SD-Card
Hi all, Can someone tell me if the function MoveFile(src, dest) works with paths that pointed on a SD-Card Example: srcpath = \SD-Card\Test\file.txt destpath = \SD-Card\Test\file2.txt MoveFile( srcpath , destpath ); DWORD error = GetLastError(); error is 3 which means "The system cannot find the path specified." Regards, Karin Mine is called "SD Card", w ...Show All
Windows Forms How to put Radio Buttons in a Menu
I am building a standard desktop application with a menu bar on top. One of the drop down menu's I want to fill with Radio Buttons. Here is a description of Radio Buttons by Petzold, in Programming Windows 95: <quote> Radio Buttons A radio button looks very much like a check box except that it is shaped like a circle rather than a box. A heavy dot within the circle indicates that the radio button has been checked (. ...Show All
Visual C++ Changes from VS2003 to VS2005, e.g. COleDateTime::Format
Hello there, We are about to migrate from VC7.1 (VS2003) to using VC8 (VS2005), and we have of course run into a couple of obvious problems (which were mostly due to small corrections in the C++ syntax). We have also encountered some not-so-abvious problems, like this one: Trying to do a COleDateTime(0.0).Format("%Y/%m/%d") in VC7 rendered a CString with the content "1899/12/30", as expected. Doing this with VC8 causes the application to crash. ...Show All
Windows Forms Possible MDI question?
Hi everyone, I'm trying to come up with the best way to keep track of multiple child windows in a very specific situation. I have an application that has a grid control listing a number of records. It also has a child "edit"&n ...Show All
Windows Forms Why would my Form a = new Form() be *CLONEING* itself? ie the new form != a
Does anyone know under what circumstances could cause a new form to *CLONE* itself when Shown I have a MDI app, and am creating new MDI forms. The forms have the InitializeComponent(); code moved from from the create method to the ShowThisForm() method due to the fact the user could create the form and not actually want it displayed Apart from that one oddity the Parent/MDI stuff is basically normal. It all works (to a point) except the clone ...Show All
Windows Forms aaa DataGridView: Can't hide Cell highlight border
How do I hide the dashed cell border that appears when I click on a cell The row is selected ok - but the I don't want to the cell to be highlighted Any help would be greatly appreciated! Cragman P.S. I am talking of course about .NET 2.0 Beta 2 ...Show All
.NET Development Bug in webclient?
Hello, i have a problem with System.Net.WebClient object I am doing something like downloader, but there is one thing I can't understand. In few web pages, its method DownloadString() returns no text. One example is http://www.fanfiction.net/s/2616754/2/ try this piece of code for example System.Net.WebClient wc = new System.Net.WebClient(); MessageBox.Show(wc.DownloadString("http://www.fanfiction.net/s/2616754/2/")); that should show the ...Show All
SQL Server How to enable Remote Erros on Report Server 2005?
hi, all When i tried to access a report via URL and I got an error page like: Reporting Services Error You could set the "EnableRemoteErrors" configuration value to True in the ReportServer.ConfigurationInfo database table. Alternatively, you can use the SetSystemProperties SOAP call: http://msdn.microsoft.com/library/default.asp url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_63le.asp -- Robert ...Show All
Smart Device Development Special folder
In Windows Mobile 5, how can I retrieve the Program Files directory name In english in "Program Files", in italian "Programmi". Then Environment .GetFolderPath( Environment . SpecialFolder .ProgramsFiles) doesn't work because the Environment . SpecialFolder .ProgramsFiles is not support on compact framework. Thanks Hi! Does CF support GetEnvironmentVariable() If yes - you can use "ProgramFile ...Show All
Visual Studio VSS Replication/Synchronization
Hello, We have problem: VSS (VSS 6.0) Database is hosted at customer server. Developers team uses SourceOffSite and VPN to get code from this VSS database. The project is big and team is not small. The process of getting last version takes too much time (at least 10 min, often - 30 min). If several people try to take last version simultaneously it can take an hour or more. We'd like to get local version of VSS database with project. How c ...Show All
Windows Live Developer Forums Windows Live Expo
The Windows Live Expo API launched last week. Check out the API documentation here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlive/html/winliveexpo.asp Windows Live Expro "Expo is a dynamic social listing service that allows members to find and sell items, discover information, and meet other parties in their area – all for free! With Expo, you can browse and post listings to those you trust, like your ...Show All
