antoan's Q&A profile
Windows Forms repro case
Hi When I run my .NET 3.0 ClickOnce app on Vista RTM, nothing happens. I'll click launch, but I never see the initial UI screen or any errors, nothing at all. Is there a way to view a ClickOnce error log *edit* here's a repro case: http://judahhimango.com/test Can anyone please try this Click the link above and tell me if it's working I've only got 1 Vista machine to try it on, and it's not working on that one; I need to isolate the problem, and testing on multiple Vista machines would really help at this point. ...Show All
Visual Basic Integrating .Net into a VB6 client
Hello I have a question about whats the best way to integrate a .Net application into an "old" VB6 application. The current problem is that we need to rewrite "parts" of the application and need to incorperate those "parts" into an old legacy System... This system is written in VB6 and the goal would be to make this possible with the smallest amount of changes to the VB6 code. I was thinking about creating a plugin or something like that which would have its own form or controls and only require a very "minimalistic interface" (like show()) Are there any patterns which I should take a closer look at or has anyone a suggestion on what would work best The "part" of the system will ...Show All
Visual Studio 2008 (Pre-release) Marquee / Scrolling Text
Hi, Is it possible to create a marque or scrolling text in WPF. One approach I can think of is by using timers and doing it programatically. Is there any other approach Thanks Sai Ishmael: As I mentioned above the code uses fixed size values. Here's a more generic solution. This uses my JScriptConverter to make a few small calculations, the source is available here ( http://11011.net/archives/000668.html ) < Window x:Class = " Marquee.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:utils = " clr-namespace:Utils.Avalon " > < Window.R ...Show All
Smart Device Development How to run 32bit application on XP64
Hi, I've got AMD64 box and XP64 installed on it. Whether I can run 32bit application and if I do, what I'll need for it Any help I appreciate, thank you! This forum is dedicated to device emulator. Please post to relevant news group instead: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic ...Show All
Visual Basic Closing a form
How can I tell whether a form is being closed because the user clicked the X in the form control box vs. code that performs me.close(). The two methods give me different results and I'd like to know if the X was clicked so that I can handle that specifically. Thanks, /jerry For the clarification of the users here: Both method keep the Menubar "x" from closing the form.... The global variable method used will only let "Button1" close the form....it doesn't however inform you of what was trying to close the form...I agree it is a simplier solution in which the programmer may impliment easier, however the solution I provide gives the programmer a wider range of accurate control o ...Show All
Visual Studio PLK information
I am getting these errors in the activity log trying to run with the /noVSIP option to test my PLK: <entry> <record>69</record> <time>2006/08/09 15:14:06.580</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPackageSignature failed; invalid Package Load Key</description> <guid>{4A644ACC-B41D-48CE-B192-F8CF92B02A0F}</guid> </entry> <entry> <record>70</record> <time>2006/08/09 15:14:06.595</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPackageSignature failed; invalid Package ...Show All
Windows Forms Lock windows
In my program at times a new window will be opened. How can I lock it so that they can not goto the window in the back They will have to click ok or cancel to goto the previous window. Hi, try opening these new windows (forms) with ShowDialog() method: using (MyForm form = new MyForm()) { form.ShowDialog(); } Andrej ...Show All
SQL Server Dynamix mdx query
I'm not to familiar with mdx, so I don't manage to create a dynamix mdx query in RS against my AS cube. What I'm looking for is having two parameters @par1 and @par2 that decide what dimensions to query against. The default query I get when I create a mdx with designer looks like the one below. The problem is that instead of [Product].[Product].[Product] and [Supplier].[Supplier].[Supplier] I would like to use my parameters. The parameters can contain the value Supplier, Product, Customer and all other names of the valid dimensions. I thought maybe it was possible to do somthing like this: [@par1].[@par1].[@par1], but that didnt work :-) I have also tryed using with and set, but havnt managed to make it work. I have seen a couple exampl ...Show All
SQL Server Template Explorer - Changing file location / Removing Defaults
I have been unable to remove the default list of SQL Server Templates from management studio. I don't really care about the ones already in there, but have hundreds of my own that i would rather be displayed. I don't like searching through the 25 different folders that microsoft already has out there cluttering up my own folder structure, and would like to see them disapear, however after deleting them, they just come back next time i open up management studio. Does anyone know how I can remove the default templates, or change the template location to point somewhere else so i don't see them in the explorer list anymore Thanks in advance, Chris I have to say so far I'm really disappointed in SSMS I was hoping that it would ...Show All
.NET Development When linking ILASM doesn't set version information
After compiling pure IL code with ILASM my resulting dll doesn't show Version tab on Properties window. It seems that attributes are not used when linking. There is no possibility to use al.exe - it says I can't link files containing assembly but how to produce netmodule from il Marcin http://msdn.microsoft.com/library/en-us/tools/tools/versioninfo_resource.asp ...Show All
Visual Studio Macro: How to test current cursor line
Can someone please point me in the right direction VS2005: I'm trying to test if the current cursor position is already at the top of the text editor window. eg: if "CurrentCursorPosition.LineNumberInWindow = TOP" -Marc- Found the answer: Here is some code to determine and test. Assign a macro (NUM - and NUM +) to see how it helps browsing through code. Sub GoScreenTop() Dim docTextPoint As EnvDTE.TextPoint Dim window As TextWindow Dim pane As TextPane Dim paneStartPoint As TextPoint docTextPoint = DTE.ActiveDocument.Selection.ActivePoint window = DTE.ActiveWindow.Object pane = window.ActivePane paneStartPoint = pane.StartPoint If p ...Show All
Visual Studio 2008 (Pre-release) HOT TO REMOVE runtime WCF?
Hi all! I'd like to install netFx3.0 but it seems I have WCF installed on my machine, I've tried to search in contrl panel but it isn't. I've had the beta version and uninstalled it some days ago. in which way I could solve the problem there are some registry keys or files, I have to remove TIA for any question about it. Dario hi, I have the same problem since trying to uninstall the May CTP of winFX, there is always the same error message saying that I can't nor uninstall WinFX Components nor uninstall VS2005 because of the presence of WinFX Components and specially WCF !!!! should the only solution be to format my hard disk !!! ...Show All
SQL Server Row height issue on export to Excel
Hi all, I've been having some problems with a report on export to Excel. I have four tables, contained within a rectangle at the top of the report, followed by a second page of tables dynamically generated by the data being fed into the report. On export to Excel, the top sections of tables appear to export with a fixed row height that does not show all of the string contained within the cell. I've had similar issues before with "title" textboxes, but these are usually easily solved by expanding the height of the box within the report. In this case, this hasn't worked! Any idea Regards, Jon If you have other tables at the same horizontal level, or other r ...Show All
Visual Studio Express Editions Confused about two versions of my data in my project and my ability to save data
I'm having problems saving my data when I'm testing my application. I've read some threads on the subject and as I understand it, I actually have two copies of my data in my project. I'm using an MSAccess database for my data. I don't know if I made a mistake when I attached the data to my project (or imported it ) that is causing me not to be able to save data or not. I tried changing the 'Copy Output to Directory' property of the dataset and even the form that contains a datagridview that I'm trying to add data to from 'Do Not Copy' to 'Copy if Newer' and that did not solve my problem. I guess my questions are: 1. What do I need to do with my dataset to allow me to save changes as I test my application If it involves me deletin ...Show All
SQL Server DataSet Access from a matrix
Data Set Access from a matrix I am trying to create a schedule by room number report. I am using a matrix. The column group that I am using is room number. There is no row group. When you group by room it is only allowing me access to the first data item for that room. Even though there are other data items for that room I can not access them. I can not access all data items in that grouping expression. Is there a way to get unobstructed access to a dataset while working in a matrix and grouping If you are not getting back the correct data... I would use a table format and grouping... you can "trick" the look of the report to appear like a matrix.. Hope this helps.. ...Show All
