MarissaM's Q&A profile
Windows Forms Alternating between two images every 3 seconds using a timer
Hello! I am quite new to C sharp and want to write a small program. I use an Mdi form with several child forms. I want to have a little picture box in a corner, possibly the Mdi form, that alternates every few seconds or so between two images continuously even while I switch between the various child forms. Is this even possible in Visual Studio 2005, and if so how Many thanks, Boombastic Well, I don't quite understand what you are trying to do with these images. But doing a background image in the MDI parent client area won't do it Then you will want to do a base form class and put the timer and code to change the images in there. Then inherit from this form in every MDI child form that sh ...Show All
SQL Server BI Portal connected to analysis services 2005
Anyone has connected the bi portal with analisys services 2005 I have a security problem. Thanks I did what you say, i save the excel as a web page, and the owc give me an error: "Can't process consult" "The following system error ocurred: . " I have the last owc... ...Show All
.NET Development Email Method does not send from port 25???
I was wondering why my e-mail method does not work, I am trying to send an e-mail from someadrees@yahoo.com to someaddress@hotmail.com the code works but no e-mail arrives do i need to specifiy passwords for both of these accounts using the NetworCredentials class or what any help with this issue Public Sub EmailHomeFile( ByVal fileName As String ) Dim mailMessage As New System.Net.Mail.MailMessage( "blocklif@yahoo.com" , "leewayz@hotmail.com" , "HomeManageMentFile" , " Do Not Replay To This Email" ) Try Dim client As New SmtpClient() client.Host = "DestinyDSP" client.Port = 25 client.Credentials = CredentialCac ...Show All
SharePoint Products and Technologies User field with multiple users to check via schema.xml
when you create lists in sharepoint, it's possible to add afield for choosing a person or multiple persons. I want exactly that for my list template. I have the following CAML syntax: <Field Id="{8ADC8169-6BA9-4d7e-B77D-B0F8B79BBEC5}" Name="Vertreter" BaseType="Text" DisplayName="Vertreter" Type="User" Sealed="TRUE" ShowInDisplayForm="TRUE" ShowInEditForm="TRUE" ShowInNewForm="TRUE" ShowInListSettings="TRUE" DisplayNameSrcField="Account" List="UserInfo" SourceID="http://schemas.microsoft.com/sharepoint/v3"/> This works fine, you can selec ...Show All
Software Development for Windows Vista Where is the Application database to be installed?
Hey all, According to the Windows Vista Software Logo Spec 1.0.doc ( Version 1.0.0006 ), Item 2.3 "Install to Correct Folders": Applications should be installed to Program Files or the user’s AppData folder by default. For per-machine installations, user data must be written at first run and not during the install. Since the install potentially elevates to a different user account during the per-machine install, there is no correct user location to store data at install time. Our multi-user application is intended to be installed "per-machine", so any user of the machine (or network) could share the application data. That said, can anybody explain in plain English, where should the application ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vector to rotation, ie - point models 'forward' to their direction.
Imagine you have a model of say a plane, with a position (x,y,z) and a vector for it's movement. On each update you're adding the movement vector to the position - ok easy enough. You want to have the plane model always be rendered to move with it's nose forward. is there a simple way to translate the movement vector into corrolating rotation x,y,z. My high-school cartisian trig is a bit sketchy, but as I recall on a 2d plane from a normalized vector it would be like rotation.x = csc(y/x) (i probably have the trig identity wrong,but you get the geist of it). Want to translate normalized vectors v(1,0.5,0) into a rotation so models are facing the correct way for their movement. - anything built into xna for this I realise th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. graphics error
not sure i know what the problem is but when i run space wars it finds a line of code that says this .GameComponents.Add( this .graphics); and says it no suitable graphics device exception was unhandled Here is a thread where people had your same issue and the fix that worked for them. http://forums.microsoft.com/msdn/showpost.aspx postid=682322&siteid=1 The way it sounds from the thread, if the fix indicated does not work, then you will most likely need to buy a new graphics card that supports shader model 2. Definitely try the fix first though. Good luck! ...Show All
Windows Forms textBox Question
is there a way to allow only ' a-z A-Z 0-9 ][{}()-* ' characters to be typed into a normal textBox the MaskedTextBox wont work in the way that i want it too. Im using VC++ 2005 thanks ------ Build started: Project: test, Configuration: Debug Win32 ------ Compiling... test.cpp c:\documents and settings\dion1\my documents\visual studio 2005\projects\test\test\Form1.h(2954) : warning C4244: 'initializing' : conversion from 'wchar_t' to 'char', possible loss of data c:\documents and settings\dion1\my documents\visual studio 2005\projects\test\test\Form1.h(2955) : error C2352: 'System::SByte::ToString' : illegal call of non-static member function c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System:: ...Show All
SQL Server Need Help !! RDA replication
Hi Everyone: I am new to Mobile programming. I am now working on a mobile project. I encounter an issue when I sync the data: cause I can't modify the schema, so I have to use RDA instead of Merge replication on sql server 2005. However, There is an identiy column on each table I will pull them down to local mobile database. And I will use those identity columns to connect tables. Even worse, the photo's new name will combine the photoID which is an identity column. There would an issue, if i sync data, the photoID would be same on different local mobile databases. And there would be generate same identity value when users sync data. How can I avoid those issues If you have any good ideas, please help me out so that ...Show All
SQL Server ADD A COLUMN AND POPULATE IT WITH A SINGLE VALUE FROM A USER VARIABLE
Hi ! I have one Excel source with ... say 2 columns, I have an SQL Server destination with 3 columns. I want the third column to be populated with a single value stored in a User::Variable. Can someone help ! Jacques... Just add a Derived Column transformation and assign your User::Variable to the derived column. That's it. ...Show All
Windows Forms Win Vista - Setup Project Deployment
I have a Setup Project Deployment in VB.NET 2005 for my application In that project I use a Custom Action with a argument "\install" to install a Auxiliary Tool that my application needs in order to run It works fine in Windows XP...but in Windows Vista my setup crashes when it tries to install that auxiliary tool How can I fix this in order to be compatible with Vista another question : How can I change the custom action in order to install auxiliary tools by users choice If all you want to do is conditionally launch the custom action, but don't need to know the checkbox state inside of your custom action: you don't need to pass the checkbox state to the custom action usi ...Show All
Visual Studio 2008 (Pre-release) Issue with frame resizing!!!
Good morning, I'm trying to navigate throw some custom pages in my wpf application. I was checked that "AppModel/FragmentNavigationSample" in wpf samples works perfectly opening a page in a frame embedded in the main window of the application. I copy the main window and the page to a new project created with "microsoft expressions" but, when I open the frame, the main window is resized to the content size. I think that the only difference is in the project file. Can anyone tell me what to do to resolve this little problem Regards, Ruben Leal Hi Ruben, I don't have a PC with the all the dev tools for .Net 3 installed right know, i'll check this evening the sample code. ...Show All
Visual Studio Team System How to install VS TS for Software testers
Hi , This may kinda sounds stupid.Does the VS Team Suite give you an option to install the edition for Software testers.I am currently using the 180 day trial version and it installs the whole lot which includes the edition for developers,architects,testers etc.Its kinda frustrating.Would the installer choose the edition based on my license key If yes then when I get my MSDN License key for Software Testers will it automatically disable the other features.Whats going on It just driving me nuts! The custom setup screen during installation will allow you to choose exactly which components you want to install. You certainly don't have to install the other stuff if you don't want to. There is a large amount o ...Show All
Visual C++ unresolved external symbol __invalid_parameter_noinfo
Hi friends, We are building a sample project in debug mode with release build of library say test.lib we got error like "error LNK2001: unresolved external symbol __invalid_parameter_noinfo". Can anybody give solution for this problem Regards, Mukilan I ran into this too, and agree that it is a bear. I thought I had run out of options, but this is what I did to fix it. My project uses two other statically linked libraries. The solution was to recompile those libraries with the same library flags (/MTd in this case), and verify that my project is getting the right files. It is surprising how you can think it is getting the library compiled with /MTd but it is not the right path or ...Show All
Visual Basic Excel Process Won't terminate
I have seen loads of information on this but none seem to resolve my problem. Here is the situation: I am using Visual Studio 2005 and using SQLBulkCopy to copy a certain range of Excel values into SQL 2000 table. The copy process is successful but I need to have the Excel file opened - otherwise I get "External table is not in the correct format". When I finish the copy I try to release all Com objects but Excel process is still active. I tried changing my connection string, using both Marshal.releaseComObject and Marshal.FinalReleaseComObject. Neither of which are successful. I then began looking at killin the Excel Window that I open by using a GUID. This works but when the user closes the other Excel windows which they hav ...Show All
