JTechOnlineGuy's Q&A profile
Windows Forms Beta 2 to Latest CTP?
Quick question: If I have PCs running my application which was deployed via ClickOnce from C# Express Beta 2, is it easy for them to upgrade if I move to the latest CTP Or would they need to uninstall both my app and the Framework beta before they could upgrade Cheers, Matt Yep, that helps. Thanks, Sameer. Looks like my best option is to stick with beta 2 until the final release - I don't want my users to have to uninstall the beta 2 framework and install a new one just to move to the CTP (assuming the GoLive license even holds for the CTP, which I'm not sure it does). Ta! ...Show All
SQL Server Help - Implementing Reporting Services 2005
Scenario: Server Win 2003 SP1 SQL 2005 - Standard - Full install Steps Taken to resolve so far: Validated permissions Issued IISRESET Attempted to login to Report Manger on the server using an admin account. Net Result: While the install went fine (this was placed onto a virgin 2003 server with only IIS 6.0 installed prior to installing SQL 2005), we cannot access reporting services. Any thoughts on what was missed on the install or if there is a security setting that needs to be looked at g Thanks in advance for your assistance... Andre The error: Compiler Error: c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0 ...Show All
Visual Basic ByVal DOESN'T work!!! REALLY!!! NO KIDDING!!!!!!!
OK Here is my problem, I have a Generic.List(OF something) and I pass it BYVAL as an argument to a function. Inside the function I create a new instance of the list and I AddRange the argument to this "inside" list. And guess what, all changes made in the internal list, pass to the list behind the argument. The same thing happens if I use the "=" operator instead of AddRange. Here is my code 1) Public Function ExpandOperator( ByVal CurrentInstance As CheckerBoard, ByVal EmptyPosition As Point, ByVal Orientation As Short ) As CheckerBoard Dim ReturnBoard As New CheckerBoard ...... ...... Retu ...Show All
Visual Studio Express Editions Command object
In Visual Basic.Net 2003 there were oleDbCommand objects which I used to create a select statement. I then created an oleDbDataReader in code. The command object then executed the reader object which I used to fill my comboBox with items. I did this so that I could update the items in the combobox from another form and so the comboBox would put the string in my database field and not the ID. My question is: I don't see the command object and not sure how to do the same thing in VB2005 Express ummmm. . . you were setting the combobox.datasource to a datatable/ArrrayList and specifying the DisplayMember a ...Show All
.NET Development Why mouse API not working on longhorn machine??
I am trying to send mouse right click event thru "SendInput" API. ( Even I tried using mouse_event API ) Its working on XP but not on longhorn. Can anybody tell me why so Is there any other way to simulate mouse right click event on longhorn using win32 APIs or .net freamework classes Please Help !!! Following is the code: [code language="c#"] struct MOUSE_INPUT { public uint dx; public uint dy; public uint mouseData; public uint dwFlags; public uint time; public uint dwExtraInfo; } struct KEYBD_INPUT { public ushort wVk; public ushort wScan ; public uint dwFlags; public uint ti ...Show All
Visual Studio Express Editions how to associate a file format to my vb application?
how can i do file association using vb express to allow user to double-click and open the specific file format in my vb application can this be done using click-once ClickOnce is not capable of creating file associations. You can create file associations in code when the application starts as long as the user gave the application full permissions. See this information: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fa_file_types.asp You can ...Show All
Visual C++ socket--recv()--DataConversion--help!!
Hi , I am infancy to socket programming .I need to connect to an external device through TerminalServer4 and i should be able to send command & receive output. Using the following code, i am able to send data to the external device and able to receive data. But i am receiving data in special characters from the external device.When converted to int, i got the output as -1,-3,3,-1,-5,3,-1,-5,1 (total i received 9 bytes ). But the result should be 255,253,3,255,251,3,255,251,1 . If it is through VB, the special characters are converted using Asc() function and getting the exact result as 255,253,3,255,251,3,255,251,1. So, i need to ...Show All
Visual Studio Express Editions Unload equivalent
I have just picked up VB 2005 Express and made the mistake of thinking I could brush up quickly on some old VB6 skills and get a simple program coded quickly. I have, what to me is a fairly basic question. How do you code an "Exit" button. In VB6, the code was simple - "Unload Me". What is the VB.NET equivalent Help please!!!! me.Close() me.Dispose() Application.Exit() All of these will close the application (if the form you're calling close/dispose on is the main form). Application.Exit is the surefire way to close the application. ...Show All
.NET Development Error on register assembly
Hi, I have an Assmbly from C# that My unmanaged C++ application checks the version of assebmly and register using RegAsm.exe if a version is different with registered one. When I save this assembly into Visual SourceSafe and install at different machine, my application has failed to call Assembly. Also I found sometimes work and sometimes doesn't work when I run my application with several different version of Assembly. I am not sure about this but I guess it might be caused by Regasm. My application runs RegAsm /u a.dll and Regasm a.dll The following code, oledisp2.cpp: BOOL COleDispatchDriver::CreateDispatch(REFCLSID ...Show All
Windows Forms Inherited Extender Property Defaults
I've created a new extender component which extends a "Participates" property to other controls on a form. If I drop that on a form (form A) along with a toolbar I'm able to set the toolbar's Participates property - no problem. Both the toolbar and the extender component are set to "Protected". When I derive a form B from form A&nb ...Show All
SQL Server Bug in SQL Server 2000 with OPENXML?
Hi, I am trying to make some stored procedures that take in lists of well sites and well ids and find the wells in the sites except for those in the list of well ids. I have a stored procedure like this. ALTER procedure sp_wellSelect (@criteria ntext) as DECLARE @hDoc int --Prepare input values as an XML documnet exec sp_xml_preparedocument @hDoc OUTPUT, @criteria --Select data from the table based on values in XML SELECT distinct w.well_id, w.well_name FROM Wells_by_site ws INNER JOIN well w ON ws.well_id = w.well_id WHERE ws.SITE_ID IN ( & ...Show All
Visual Studio 2008 (Pre-release) ListView with TextBox
Hello I have the following XAML: <ListView Canvas.Left="13" Canvas.Top="223" Width="535" Height="80" Name="lvReturnMapping" ItemsSource="{Binding Fields}" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Visible"> <ListView.View> <GridView> <GridViewColumn Header="Property" Width="206"> <GridViewColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding Path=colProperty}"/> </DataTemplate> ...Show All
Visual C++ a MFC ReBar problem!
Hello, I've a problem with MFC CReBar control ,that when I add buttons or controls on the Form that represents the rebar form I find these controls disabled so can any one tell me how to enable these controls as they're enabled in the resource editor but disabled when I run the application Thanks Hello, First, thanks for replying. Second, How can I add it . all what I did that I added a button and a class for the template!! Thanks. ...Show All
Visual Basic Decimal number visual basic express
Please help on this questions. i tried amnd it won't compile.The question: Design and write a program that does the following: (a) Prompts the user to input a number containing decimal: aNumber (b) Prompts the user to input the number desire decimal position after rounding: numberOfDecimals (c) Rounds aNumber to numberOfDecimals decimal position (d) displays the rounded value in aNumber . Please some work it and compile it. >> i tried amnd it won't compile. Even professional programmers will write code that does not compile. At that point, you need to read what the error messages are so you can f ...Show All
Windows Forms DataGridView Scroll
Hi. When I scroll my DataGridView it is scrolled by steps of 3 (or any other number) of rows depending on what is set in Windows Mouse Properties. Is there a way to make it scroll row by row t.e. one notch = one scrolled row. Thanks! There isn't any built in property to change this. You would have to override the OnMouseWheel method and provide your own implementation (and not call base.OnMouseWheel) -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
