btolman's Q&A profile
Windows Forms How to hide a form and to maintain their data?
Code in VB 6 1.- Open modal form code: form1.show vbmodal 2.- fill the form 3.- Hide form code: form1.hide 4.- Then, to open the modal form again. The data are even there. code: form1.show vbmodal Question. How can I that in visual basic.net ..... Use form1.ShowDialog to show the form modally. I believe in .NET when you Close a modal dialog form it doesn't actually close - read the second paragraph under "Remarks" in the following link... http://msdn2.microsoft.com/en-us/library/c7ykbedk.aspx "When a form is displayed as a modal dialog box, clicking the Close button (the button with an X at the upper-right corner of the form) causes the form to be hidden and the DialogResult prop ...Show All
Visual Basic The server response was: 5.7.1 + VB .NET Help
'Using the code below I recieve a server response error, I have tried using credentials. I am using a web 'hosting company, could it be the settings on their server Dim fromAddress As MailAddress Dim toAddress As MailAddress Dim email As MailMessage Dim emailClient As SmtpClient Dim strMessage As String = rtfMessage.Text Dim strSubject As String = txtSubject.Text Dim strServer As String = My.Settings.Server Dim tempUbound As Integer = UBound(strEmail) Dim tempLbound As Integer = LBound(strEmail) Dim strUserID As String = My.Settings.UserID Dim strPwd As String = My.Settings.Pwd For i = tempLbound To tempUbound emailClient = New SmtpClient(strServer, 25) fromAddress = New MailAddress(My.Settings.MyAddress, StrConv(My.Settings. ...Show All
Windows Forms How to add the .net setup file into a project setup file?
We have developed the project using c#. We have created the setup file of our project, while installing the project, first it should check in that system, wthr .net framework is there or not, if it is not there means automatically it has to install the .net framework. so for that purpose how to add the .net setup file into my project setup file hi, bingo it worked....thanks a lot The mistake what i was doing was after completing the installation of .netframework and windows installer 3.1 it was asking for reboot and i was selecting "no".was wrong u should dselect "yes"and once it is reboot it will automatically start installing sql Express followed by my Application. Thanks . if u can help me by gi ...Show All
Visual C++ where threads will be declared
ON_THREAD_MESSAGE(MM_WIM_DATA, OnMM_WIM_DATA) I am not able to find where MM_WIM_DATA is declared (it is not there in StdAfx.h) Declared in Mmsystem.h; include Windows.h. http://msdn.microsoft.com/library/default.asp url=/library/en-us/multimed/htm/_win32_mm_wim_data.asp ...Show All
Visual Studio Team System how do you delete defects?
Good Morning i created several defects to test the life cycle and everything worked the way I planned. now my question is how do i actually delete remove these defects another question i have is when VSTS gives a defect an ID why does it start from 150 ( i think) is there a way it can start from 0 Thanks for your time and help You can look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327599&SiteID=1 for the information on deleting work items. -Mohammad ...Show All
SQL Server Internet Explorer Version 7.0 Beta 3 can not load Reporting Services
Hi, all! Internet Explorer Version 7.0 Beta 3 can not load Reporting Services, please check this error. Because my company always using Reporting Services. I open report OK but when choose and click View Report. Nothing load and IE 7 using a lots resource RAM. And I check many computer set up IE 7. they still error. Please help me. Thanks. http://blogs.msdn.com/bwelcker/archive/2006/08/28/728739.aspx ...Show All
Software Development for Windows Vista Workflow Persistence and tracking -Error
Hi, I am getting this error while trying to access sqlTrackingWorkflowInstance.ActivityEvents ActivityEvents 'sqlTrackingWorkflowInstance.ActivityEvents' threw an exception of type 'System.Data.SqlTypes.SqlNullValueException' System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.ActivityTrackingRecord> {System.Data.SqlTypes.SqlNullValueException} What might be the problem Looking forward to some inputs to fix this Thanks kesh Which version of WF are you using make sure, you've updated the tracking db with the latest sql scripts. Location: <drive>:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN\Tracking_schema.sql followed by ...Show All
SQL Server Help with query - New to SQL
Not sure how to quite ask this question. I know how to do what I want under MySQL but with MS SQL I'm mystified. The main issue is that the database I'm attempting to access is fairly large so my query times out also that I lack any real access to the server itself except via my workstation. What I'd like to do is try to map the structure of a table in the database so that I can see what fields the front end is current not utilizing. The basic setup is a webserver and access the database via PHP. I'm hoping that this is a simple thing to do but I haven't found a solution yet anywhere online. < php require ("connect.inc"); $db = @MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO RESPOND."); ms ...Show All
SQL Server how to share variables across packages?
I'm working on a solution in Visual Studio that has 3 SSIS packages, and now I want to add a 4th that needs access to variables defined in one of the other packages. How can I do that One way would be to dump out your variables and values to a raw file or db if you prefer. Then any other process from any execution context can access them anytime via a "source connection" to that file... ...Show All
SQL Server sp_executesql - Error converting data type varchar to datetime
Hi, I am havin problems with the following giving a message Msg 8114, Level 16, State 4, Line 0 Error converting data type varchar to datetime. exec sp_executesql @stmt = N'UPDATE CUSTOMER SET [REQUEST] = @19, [DISC_EXPRY] = @28, [GROUP1] = @29, [GROUP2] = @31, [PR_LEVEL] = @48, [MOD_DATE] = @55, [MEM_CODE] = @63, [MEM_DATE] = @64, [HO_MOD] = @66, [LASTUPDATE] = @78 WHERE [ID] = @Old_1' , @params = N'@19 nvarchar(4),@28 DateTime,@29 nvarchar(5),@31 nvarchar(5),@48 nvarchar(1),@55 DateTime,@63 nvarchar(7),@64 DateTime,@66 Integer,@78 Float,@Old_1 Integer' , @19 = 'NRMA' , @28 = '1752-09-14' , @29 = 'ALBUM' , @31 = 'FRAME' , @48 = 'A' , @55 = '2006-10-10' , @63 = '1003.50' , @64 = '2006 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox live vision libraries
i was reading on the gesturetek website that they are releasing the libraries for the xbox live vision camera to registered xdk developers. will they release it to members of the xna creators club too, or is it just for the big shot developers i would be really interested in making a game using the camera. thanks. do you know if there will be support for it in a future build perhaps would anyone know of any other APIs for windows that i might be able to use to make a game totemball, using the xbox live vision camera, or any other camera ...Show All
.NET Development XmlDocument System.Net.WebException Error
Here is the code that I have: rssReader = new XmlTextReader( file ); rssDoc = new XmlDocument); //Load the XML rssDoc.Load( rssReader ); If the file doesn't exist on the remote web server I get the System.Net.WebException error. Is there a clean and easy way to detect this page without having an error get thrown I have another project that uses HttpWebRequest.getResponse() but that also throws an error if the web page doesn't exist. I am stuck. try { rssReader = new XmlTextReader( file ); rssDoc = new XmlDocument); //Load the XML rssDoc.Load( rssReader ); } catch (WebException ex) { // if you want you can examine other properties such as ex.Status } ...Show All
Visual Studio How to change format of the dates in Crystal Reports XI from ASP.NET
Hi, We have .rpt reports that called from web application. The dates are shown in en-US format and I need to change it to en-AU (Australian) format. I already changed user accounts to be in Australian format, and I set current culture to en-AU System.Globalization.CultureInfo currentCulture = new System.Globalization.CultureInfo("en-AU"); System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture; System.Threading.Thread.CurrentThread.CurrentUICulture = currentCulture; Is there any way to force locale on Crystal Reports Engine Thank you ...Show All
Visual Studio Express Editions vcbuild can't work from a makefile?
Hi, I saw this old post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=220065&SiteId=1 ... that says in order to build a project, I should use syntax like: vcbuild MyProject.vcproj "Release|Win32" ... in order to build the Win32 version of a Release build. Then, I see in the vcproj help files that vcproj files are not compatible with nmake. Does that mean I cannot invoke this command in a makefile, but must be typed at the command prompt My understanding is that if I were to use devenv, I would also be using .sln/.vcproj files. Does that mean devenv can't build a project from within nmake And... why are vcproj files incompatible with nmake Could they be compatible with other kinds of makefiles, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating a model?
Is it possible Yeah, it's possible: http://www.codeplex.com/animationcomponents There are more discussions in these forums, search around. There is suppose to be an official example coming real soon now... ...Show All
