Andre Goheen's Q&A profile
Visual J# opening a Form in a form
hi...im trying to make a program through visual j# that is going to need more then one window to operate.....for example if you were to click a button labelled "Create"...a new window would open up asking you for information......im not sure how i would do this....im guessing opening a form in the form would be the way but i dont know how to do that......if anybody knows any other ways or can help me out with this it would be greatly appreciated are there any other ways of me opening another window in my program....or do i have to use mdi ...Show All
Visual Basic Program requirements
how can i find out my application requirements Do you mean what requirements are required for your program (that you build) to function That's for you to determine, as a programmer. There are, of course, base line requirements, such as the .NET Runtime, for example. Look at the requirements for windows XP (if that's your target), and that's your 'base line'. ...Show All
SQL Server Differences between June and September CTP releases
Hey y'all I read in post in this forum that there have been changes in syntax and what not between the June and September CTP releases. Is there a list, document or webpage that spells out the differences between the two releases Thanks Thanks So to clarify June CTP release is Beta 2 or 3 and September CTP release is .... what ...Show All
.NET Development SqlDataSource/DataField Bug in 2.0 ?
I've come across an odd situation. If someone has a table where a column name contains a space, and you generate a SqlDataSource on that column, some interesting things happen if you try to bind them. When I tried to bind, (in a GridView), the column name First Name via DataField="[First Name]", it gave a runtime error stating that [First Name] cannot be found in the sqlDataSource. Oddly enough, I took the brackets out and just sent it First Name, and got a Web Exception with only the following message: Incorrect syntax near nvarchar I've seen this posted a few times, but no real replies. I was wondering if anyone knew about t ...Show All
.NET Development SQL Connection Problem
Hi, I have an ASP.NET 1.1 and MSSQL 2000 installation hosted with the same provider. Normally, I have no trouble connecting to the database, but roughly once per day, I get an exception train that starts with a 'General network error'. Mysteriously, this usually seems to happen at roughly the same time each day. My connection string and the code causing the exception are given below (values replaced by 'X'). I am sure you will agree, they are very simply; I am not trying to do anything clever. My question is fairly simple: is it normal to expect sporadic exceptions when trying to access an SQL DB in a live multi-user environment If this ...Show All
Visual Studio Can't add items to VS ToolBox using automation
This problem relates to VS.NET 2003, hope this is the right forum. I want to create a tab in the VS.NET 2003 toolbox and add controls from my assembly during setup of the assembly. I've searched the NewsGroups and other resources, and have implemented this using all the known workarounds: - Instantiate EnvDTE.DTE (e.g. CreateObject("VisualStudio.DTE.7.1")) - Execute the command View.PropertiesWindow to work around a bug - Search for my custom tab in the toolbox and create it if it doesn't exist - Call tab.Activate() to work around a bug whereby items are created on the currently active tab - Add the assembly using tab.Tool ...Show All
Visual C++ about dll
I write a console application used to test the dll. when i press the F5 to debug it, it is suceeceful. but when it is running , throw a error this: debug assertion failed! program:..../legacy/debug/uselegacy.exe file:fprintf.c line:56 expression:str != null for information on how your program can cause an assertion failure, see the visual c++ documetation on asserts. (press retry to debug the application) who may tell me ,why what can i do thanks hehe,finally,I include a <process.h> to dll. It is not throw such a error. But i don't know why I sreach the msdn,can't find about process.h information. who may t ...Show All
SQL Server Advenced select
Hi, I have 3 tables. 1. TableValues with MainID, FieldID and value 2. TableFields with FieldID, FieldName, FieldTypeID 3. TableFieldsTypes with FieldTypeID, TypeName I want to create select that returns me columns as fields names and values taken from TableValues and types taken from TableFieldsTypes. How can I do this Thank's Alexei Select tf.FieldName tft.fieldType, tv.[value] AS Value FROM TableValues tv INNER JOIN TableFields tf ON (tf.fieldID = tv.fieldID) INNER JOIN TableFieldsTypes tft ON (tf. ...Show All
Visual Studio Deploying web app
Hi there! I've got an msbuild proj here and in one of the steps I'm copying the new files to my web server. I'm having problems with something here that I don't understand how it works: * I want to delete all the contents within the folder and subfolders where my web app is located. I've added something like this to my build proj: <PropertyGroup> <FolderToDelete>C:\Temp\BuildTest\Test</FolderToDelete> </PropertyGroup> <ItemGroup> <MySourceItems Include="$(FolderToDelete)\**\*.*"> </MySourceItems> </ItemGroup> <Target Name="DeleteFiles"> ...Show All
Visual Studio Team System File locked by another programmer
I have a project that has a file locked by another programmer that is no longer working with me and I can't get him to check the file back in. How do I (as an adiministrator) remove the lock from TFS source control Please add your thoughts to the following blog post. The tfpt features are certainly high on the list for a VS power toy. http://blogs.msdn.com/buckh/archive/2005/11/16/493736.aspx Buck ...Show All
Visual Studio Team System Reporting Services Error with the RC
Setup says: Error 29112.Team Foundation Report Server Configuration: Report Server is not properly configured or the Reporting Services Web site could not be reached. Use the Report Server Configuration tool to confirm that Report Server is configured properly and that the Reporting Service Web site can be found before running the installation again. For more information see the Team Foundation Installation Guide. The Reporting Services web site says: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get ...Show All
Visual C++ developing windows service using MFC
Hi all I have a project where user will send the simulations to remote PC in the network for running the simulation in distributed fashion. Now i want to implement this as service. There are few question which i m not able to get 1. How does a user interact with service. My user interface will be a MFC based GUI.For example if user press send, then service will get the file name from the gui and send it to some pc in network and then wait for next command 2. Can i put GUI coding into my service itself. If no then how do i start my service from the GUI (which will be a separate program) 3. Can anybody suggest me a good reference b ...Show All
Windows Forms Synchronize scrolling in 2 richTextBoxes in C#
Dear All , I have 02 richTextBoxes in a form and there is a correspondance in the content of one RTB to another. So I need to synchronize the scrolling of these 02 RTB s. Hope anyone of you all may know a way to do this in C#. Thanking in advance. Hi! I tried both versions, each of them has a drawback. The first version includes scrolling with mouse wheel, but (you have said) the confinement is the triggering at SB_ENDSCROLL. Your new version fixed this, but you can not scroll the rtb2 through mouse wheel anymore. Furthermore if you click at the scrollbar up/down arrows at rtb1 I've got ...Show All
Visual Studio strange file not found error..
I have the following in my .csproj file: < Target Name = " AfterBuild " > < Copy SkipUnchangedFiles = " true " SourceFiles = " $(TargetPath);$(TargetDir)$(TargetName).pdb;$(TargetDir)$(TargetName).xml " DestinationFolder = " c:\gsp\common\bin " /> </ Target > (We test the software in an other location than $(TargetDir)) And occasionally I get the following error, although I have verified several times that the file indeed exists. Error 1 Unable to copy file "C:\GSP\Library\GspLibrary\bin\Debug\GspLibrary.xml" to "c:\gsp\common\bin\GspLibrary.x ...Show All
Visual C++ Interop with Struct
If I have following class in C++. How should I declare the unmanaged code in C# typedef void * MQISDPCH; /* Connection Handle */ /* Information required for MQIsdp server connection */ typedef struct struct_SVRS { long portNumber; char ipAddress[MQISDP_INET_ADDR_LENGTH]; } MQISDP_SVR; /* Connect parameters - fixed length portion*/ typedef struct struct_CP { long version; long strucLength; /* Fixed length plus variable portion length */ char clientId[MQISDP_CLIENT_ID_LENGTH + 1]; long retryCount; long retryInterval; /* seconds */ unsigned short options; /* WILL flag, WILL retain, WILL QoS and Clean Start ...Show All
