Jassim Rahma's Q&A profile
Windows Forms Deployment project prerequisites
Hello, i have added deployment project to my windows application, this application use ActiveX (VideoLan VLC) and, if there is no VLC installed on client computer, after my application installation when i want to launch my application it craches... i need on of solutions: 1. Somehow to add this activeX component to Setup project maby in prerequisites, and setup at begining performs is needed component installed o not, if not setup project automaticaly installs all required components... can i do this and how 2. Just disable a part of application functionnality if there are no all needed components... for ex. i install my project, and there is no VLC installed on my computer, but when i launch my application it doesn't chrash, but ...Show All
Visual C# VS 2005 crashes when launching "Add Reference" dialog
Actually happens for both c# and vb. I simply try to add a reference and before any window pops up vs hangs and then crashes. I reinstalled w/out any luck (note I didn't uninstall and reinstall -- I did the "repair" utility which apparently recopied all necessary files). It was working fine some time ago and haven't a clue what is different -- I certainly didn't install anything that would directly affect the ide... like a plugin/extension. Unfortunetly w/out this functionality I cannot develop anything using vs 2005 that requires anythign more than the most basic references. There is only one post which has the same problem as yours here in MSDN forums and it was never resolved... My gue ...Show All
Visual Studio Can we host DSL designer in a custom host application?
Is it possible to create a designer host to host DSL diagramming This way we can create a designer host using Visual Studio but won't need Visual Studio to create a diagram. If it's feasible, would it be allowed per license/distribution agreement Hi Santabo, I believe Alan was suggesting that you could generate your own graphical application from your DSL model. Unfortunately, in V1, using our graphical design surface outside of Visual Studio is not supported. ...Show All
Windows Forms List interface, with "named" indexing...
Which collection derivative provides for a list-type interface of objects that can be referenced not only by index, but by a string "name" also Like: MyObject["Sam"].Value = 10; or MyObject[0].Value = 10; I've looked through the MSDN Library on Collections, but I must be overlooking something. Sincerely, Gordon E. use HashTable for more info http://msdn2.microsoft.com/en-us/library/system.collections.hashtable.aspx ...Show All
SQL Server SQL Server 2000 MSDE
Hi We have sharepoint installed and as per the developer MSDE was installed by Sharepoint. I don't know much about Sharepoint but I would like to administer the 2 databases created by registering it with Enterprise manager. We have licenses for SQL Server 2000 Standard edition (per processor license). Is it okay for me to register the msde and manage it graphically rather than using osql commands. Thanks. please be aware, if the operating system installed on that computer will be upgraded to Vista, then MSDE will not be supported. You may need to upgrade the MSDE to SQL Server 2005 Express Edition. See the following page for additional information: http://www.microsoft.com/sql/howtobuy/sql ...Show All
Visual FoxPro How to remove redundant phrase in field?
Hi all........ I have a table field that contains things such as..... V DISCONTINUED W/O REPLACEMENT; V DISCONTINUED W/O REPLACEMENT -I&S MASTER; 7 SUB 2610-139-3704; I&S MASTER; 7 SUB FOR 2610-139-3704 What I need to do is remove the duplicate phrases, leaving only one instance of each phrase in the field. The amount of phrases in the field varies...could be 2 as shown above or there could be 6. I suspect that the 'common denominator' is the semi-colon, but everything I've tried has failed. Any help is greatly appreciated! Unfortunately, there are literally hundreds of thousands of possible phrases. Somehow I need to look at 'field1' in every record (several million ...Show All
Visual Studio Express Editions open a file in listview control
Hello all, Part of an application that I'm working on uses a treeview/listview control. My goal is pretty simple, I think... I've created an application that parses HTML files. It allows the user to edit these parsed fields and save their changes over the existing file. I realize that I could use the filebrowser dialog, or simply enter the path of file, but I need the user to be able to select a file in the listview control and have that file load in a textbox. Again, user selects (clicks) a file in the listview. By clicking the file it automatically opens in the textbox. I have no clue as to how to accomplish this seemingly simple task. Any help would be very much appreciated! Thanks, Mike ...Show All
Gadgets Consuming ActiveX events in a gadget
Hello, I have an ActiveX control (VB6) in my gadget. I'm trying to assign handlers to the events I create in the gadget like this: var objAX= new ActiveXObject("ActiveX.Test"); objAX.customEvent = function(msg) { debug(msg) }; This doesn't work. The event in the control is correct, as it works when I use it in another VB6 project. Any ideas Thanks, Ty ...Show All
Visual Basic Tab Control Bug in VB 2005 Express
Hope This is right place for this question Apologies if not. Hi I have looked around the MS site to see if there is a fix for this bug. When I use the Tab Control Panel and place the tabs down the left or right of the control I cannot see the labels, it seems to work fine whilst tabs are at the top. O and the problem only seems to exist in XP Theme, if I change the theme back to old Classic it works fine. Regards Northhaven Thank you, I will try that out ASAP. Add a new class to your project and paste this code (VB.NET): Public Class FixedTabControl Inherits TabControl Private Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hWnd As IntPtr, Optional ByRef pszSubAppName As String = "", O ...Show All
Visual C# mdac version problem
Ok, so I just installed VC# express and SQL Express... I am setting up a data source for a data grid. The data source is an access database. I get this error: The .Net Framework OleDb Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version 2.50.4403.12 was found currently installed. I am running XP Pro SP2 and all WinUpdates. I downloaded and ran Component Checker version 2.0 and it says that all the MDAC files are version 2.7 Refresh or version 2.7 SP1 Refresh. I can't just reinstall MDAC because it was distributed in XP SP2 and it won't run the install because it "knows" that. --> MDAC 2.8 RTM is incompatible with this version of Windows. All of its features are currently part of Windows. <-- Any ...Show All
.NET Development The process cannot access the file because it is being used by another process
Hey all This is annoying, I want to perform a copy or move or read operation on a file but the file is already open in word or notepad, whatever. No when I try for example to rename the file that is open in word the system tells me that I can't do it since word holds it. How can I do the same in C#, meaning checking if the file is open and alert which application holds it. Itzik I came accros this problem too... I'm trying to send a file from the Server i worte and I am SURE that no program use this file and still i cant open the file in order to send it away, lets say that a program is using this file (its a BMP) even then, Why we can't Open file for READ ONLY even if it is Locke ...Show All
SQL Server Having Two datasets in a Single Report
Hi, i have developed a report with sql reporting services 2005 which consists of two datasets in the same report. Any performance issues it will cause Thanks, Shanthi Hi, All you need to do is: drop two data regions on your report. drop some fields into each data region (from the respective dataset) go to the data region Properties dialog box go to the Grouping tab set grouping expression there (by dept id, by service id, respectively) Thanks, Shanthi ...Show All
Visual C# Adding a 2nd Word Table
I am trying to automate word, using VS2005 C#. I can get text and ONE table in the word document, but I need to add text after the table and another table. How do I add another table/more text to the document Here'scode I have pared down as an example. It adds a line of text and a table (4 x 4) and attemps to add a second table except it puts the 2nd table in a cell of the 1st table. Thanks. Eileen object missing = Missing .Value; // Create a word object that we can manipulate Microsoft.Office.Interop.Word. Application Word_App = null ; Document Word_doc = null ; try { Word_App = new Microsoft.Office.Interop.Word. Application (); Word_doc = new Document (); } catch ( Exc ...Show All
Windows Forms Visual Basic - printing to a listbox
How do I make Visual Basic enter values in a listbox while the program is running, instead of waiting until the end and then displaying all values Sounds like you're running code that takes a while to finish. For a Q&D fix, call Application.DoEvents() after you've added the item to allow the ListBox to repaint itself. For a clean fix, you'd need threading and Invoke(). ...Show All
Software Development for Windows Vista Where to download directshow sdk?
I've just downloaded directx9 SDK, and directShow isn't there. Did they move it Hello, if I have installed Visual C++.net 2003 Standard, do I have installed the Platform SDK, too If yes, does this mean I need "only" the DirectX SDK and the DirectX SDK Extras to start programming with DirectShow Thanks in advance for any help, lauviss ...Show All
