fjleon's Q&A profile
Windows Forms Creating and setting an enviroment variable
Hello! I have a setup project that I am currently creating and would like to have it set an enviroment variable to the path where the user installed my files. Is this possible How would I go about it Also is there a site or anything anyone may be able to direct me to on learning all the stuff I can do with Setup projects I can't seem to find a whole lot of info on creating them. Thanks! Well I've figured out part of my question (I can add an enviroment variable through the regisrty) so I am just doing that. The second part of my question still remains foggy to me, is there a way to set that registr ...Show All
Windows Forms WYSIWYG html control
Are there any competing products to <a href="http://www.comzept.de/index.php TEMPLATE=products&product=htmleditor">NetRix</a> I'm looking for exactly what this control does but I wanted to know if there were options. Would you be able to send me the latest version of Netrix with the spellchecker as there site is down. :-) ...Show All
Visual Basic VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. Here's my background ( being totally honest ). I am self taught, I learned C++ back in the late 90's. From there, I moved to C# because ASP.NET is the best platform availabl ...Show All
Visual C# How to change VC#.NET default lower bound for array subscripts
Hello. I am upgrading a legacy system written in FORTRAN and Visual Basic 6.0 with Option Base 1 (array lower bound is 1). Unfortunately the VB.NET no longer supports this option anymore (I wonder why Microsoft took out this good option). Is there a quick way to take care this issue in VC#.NET It is lots of work to change all arrays in a legacy system from base 1 to base 0. Any good idea Thanks. Ping Ping, I don't think Option Base 1 or anything like that are available in C#. The closest thing I can think of is to create an indexer. My recommendation would be to go and change the code to make it proper C ...Show All
SQL Server How I can start SQL Manager 2005
I have a Visual Studio 2003 and intalled Visual Studio 2005 same operation I made with SQL Server 2005 CPT but didn’t install the SQL Server manager only install SQL Configuration Manager Can you help me You just need to re-run the install and install the database tools/workstation subset. That will include the management studio component. ...Show All
Visual Studio 2008 (Pre-release) Get rid of the "focus-lines"
Hello.. in my application I have a custom made ListBox which gets some grey-dottet lines around in when I select items with the arrow-keys. Is there a way to get rid of these somehow /erik See here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=292232 ...Show All
Visual Studio Please advice an event when user closes a document
During implementation of the VSIP package for VS2005 I faced with the following problem. When user closes a document window I would like to know a file name of the project which closed document belong to. I used IVsRunningDocTableEvents.OnAfterDocumentWindowHide as event when user closed a document. Every time that event comes, the first parameter 'docCookie' always have value 0 and I cannot get any information about about a closed document. Please advice. Possible, I need to use another event in VSIP hierarchy to solve the problem. I think that should be something like "BeforeDocumentWindowHide". ...Show All
Windows Forms databinding to table
Im trying to make a table using the dataGridView control. I would like it to display 4 columns, the 1st column a part name(read-only) and 3 more columns for x, y, and z coordinates. I have a class object that has a part name field and an array field that holds an array [x,y,z], so I sit here searching help and scratching my head wondering what to do. I've added data sources and drag and dropped them to a dataGridView control(I see no mention of the fields I want while doing this), so then I run into a then what situation. I am writing in C# I may not entirely understand your desire, I'm assum ...Show All
SQL Server SQL Mobile Installation Problem on Device
I have been unable to properly install SQL Mobile 2005 on my armv4i windows CE 5 device. Below is a summary of what I have found and done. Any help in resolving my issue will be appreaciated. Thanks in advance for your help. Symptoms: No errors occur during installation of SQL Mobile on the device via cab files (either deployed through VS2005 or manually copied and installed on the device) SQL Mobile 2005 appears to be installed, can see it in the device remove programs list. All 7 SQL Mobile dll files are present in the windows folder. (sqlceca30.dll, sqlcecompact30.dll, sqlceer30en.dll, sqlceme30.dll, sqlceoledb30.dll, ...Show All
Visual Basic Some Questions
how on earth do you make a color transparent I'm not tlaking about a button color, not a 'textbox color', but a color on Paint. I painted a picture on Paint. I loaded it on VB, now there's a big black area behind it. i want the black area to go away. I want to make the color 'black' transparent, so that when you move it over something, the black area is transparent. Tu comprende Not comin' to ya How about, how do you make a certain color on paint transparent like, i put a graphic on paint (a 'character') and want him to appear on a terrain ('grass') without having an enomrous, squa ...Show All
Visual Studio Team System Bug rates report fails
Next problem: The Bug Rates report on the default project portal page fails with the messages: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) The default members for the dimension 'Specified' do not exist with each other. See this thread for sharepoint ctl00oReportCell solution. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=3493 Buck ...Show All
Visual Studio General Questions
Dear Microsoft DSL Tools Team and Forum Members, I am a student at the University of Leipzig currently taking part in a seminar about Generative Software Development. I've chosen to work on Microsoft's solution to this problem, namely the DSL Tools for Visual Studio. My task is to describe the basic notions incorporated in the modelling toolset and to explore the differences and similarities to other modeling tools and platforms. A second problem to solve is the modeling of a non-trivial example DSL. I'm facing some problems I was unable to resolve using the documentation available on the internet today. The task of modeling a non-triv ...Show All
Visual Studio Express Editions Splitting multibyte variables
I have a variable CRC As UShort 16 bits unsigned and CRChi/ CRClo As Byte. In Delphi and most assemblers I can split CRC into 2 bytes by (or similar) CRChi=High(CRC) 'Get the top 8 bits CRClo=Low(CRC) ''Get the bottom 8 bits How do I do this in VB2005 As you may gather I want to get the CRC value for strings or characters send out and then append the CRC (it may be High/Low or Low/High). If there is a way of dividing even larger integers such as 3 or 4 bytes (for 24 and 32 bits CRC) then it would even be better. I have seen something about converting integers into byte arrays but I'm not clear on how to go about it. Thank ...Show All
Visual Basic StringTokenizer in VB.NET and highlighting
Is there anything like a StringTokenizer in VB.NET e.g. If I've got a String "artificial intelligence", how to divide it into two strings Another question is about highlighting particular words. e.g If I have a short text "He is a professor" in a Label. What I need to is to highlight the word "professor" by displaying it using different colour. Regular expressions rock, Renee. I can't imagine life without them, they simply cause some very complex problems to become trivial. C and C++ both have no built in support for regex, in fact it's Perl that is best known a ...Show All
Visual Studio Express Editions Updating to .NET 2.0
I have been using VB 2005 Beta using .net 2.0 Beta. I downloaded the new 2.0 version of .net framework, but VB no longer starts up correctly. Do I have to download the SDK too ok. Is VB Express out of Beta yet , if so where can I download it ...Show All
