aboeing's Q&A profile
Visual Studio page count in ReportViewer-Bar -> 1 number too little
hello there. i render my reports in local mode in a WinApp. when the report got rendered in the reportviewer the report has three pages. in the status bar of the reportviewer i only see "1 of 2" pages. after scrolling or pressing the "next-page-button" the pagecount corrects to three. i suppose that the reportviewer adds repeated (repeat on each page) objects only one time, not three times like in this sample. is this possible is there an update for that Did they fix this in ReportViewer 2008 I have the same problem, but I see the same in 2008 too. ...Show All
Visual Studio Where do I install Visual Sourcesafe 2005 from
I want to migrate VSS data to VSTS. Now the VSSconvertor.exe requires Visual Sourcesafe 2005. I already have Visual Studio 2005 (team edition for Architect) and I dont know from where to get the VSS2005 plugin if there exists one, because I am getting the error "VSSConvertor requires Visual Sourcesafe 2005 or later" :( any help will be highly appreciated Dear Shivangi, Try the following : Open VStudio 2005. Go to Tools->Options->Source Control->Plug-In Selection In the combo box, select the Visual SourceSafe plug-in. If you do not have any plugins installed (Source safe does not ship in with Professional editions) and have a MSDN subscription, you can download VSS2005 f ...Show All
Software Development for Windows Vista CorrelationInitializer question
Hi, I'm new to wwf, and I have the following question, In all the available application samples I browsed the CorrelationInitializer is always attributed to a method, and not to an event. Is there a reason for this The usual is something like: [ExternalDataExchange] [CorrelationParameter("nextStage")] public interface ISMConnector { [CorrelationAlias("nextStage", "e.Command")] event EventHandler<RegEventArgs> OwnerInfoSubmitted; [CorrelationInitializer()] void SMSnapshot( string nextStage); } I had originally thought of doing something more like: [CorrelationParameter("WorkflowInstanceId")] [ExternalDataExchange] public interface ICaseManagementLocalService ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I like that... maybe with a list?
Hi: Are there any tutorials regarding applying any effects to sprites or textures For example I want to apply 'motion blur' based on the sprites velocity vector. Do I need to write some kind of custom shader or does the XNA framework have this included Any help greatly appreciated! Regards: John Drawing 10 instances may not be anywhere near as slow as you are expecting. As long as you use a single SpriteBatch object to draw them all, only begin drawing once, then draw all the ghost images within that single begin/end block, it will be pretty quick. ...Show All
Windows Forms DropDownList issue
I have a populated Dropdownlist on my webpage im making that i get from a sql server. Im still new at all this but the problem im having is that im sorting it with ORDER BY so its in alphabetical order but the one that i always want on top is moved maybe to second or third postion in the drop down list. now i should mention i have about 50 different possible combos with 50 different entrys in the data base with the same name but different value of the item i want on top of my dropdownlist(i always want the one i want on top to be on top no matter the value). I have tried every thing i can think of which sadly probly isnt much. any help on how i can always get it on top would be super cool. Hi, try ask ...Show All
SQL Server Hidden expression with dates?
Hi! How to write the syntax when you try to compare the dates. In this case I try to check if the date is empty(then it's 1/1/1900) then the field should be hidden. This is what I tried but didn't succeed: =iif(Fields!ModifiedDate.Value="1/1/1900", true , false ) Jan Pieter Posthuma wrote: You can convert your string value ('1/1/1900') to a date with the CDate() function. With this you can compare the to value's with each other. Thanks for the post but unfortunately I didn't get it. The main problem is syntax - I don't know where to use Cdate() -function. I tried this: =iif(Cdate(Fields!modifiedDate).Value) > "1/1/1900" , false , true ) the compiler didn't ...Show All
Visual Studio Express Editions visual basic 2005 command prompt help..
O.k i have been looking around and still have not been able to find the answer. what i am looking for is the code that will send a command to dos prompt or cmd and execute it. You know like ipconfig iprelease / renew or netstat -a this way you dont have to go and type all this long stuff out everytime you need to release your ip or your trying to configure a network. I saw your post tall dude, i am not looking to open a program.. ok what i am trying to set up is a vb program that at the click of a button it will run ipconfig, ipconfig/releasor renew, that will also have a box that will allow me to tyep c:\test.bat or c:\windows\test.bat and run my bat file. as i am just learning to program i a ...Show All
Smart Device Development What wrong in this code for smartphone work well in pocket PC
#include "common.h" #include "MYappext.h" #include "MYContactsProvider.h" extern LONG g_cRefDLL; extern HINSTANCE g_hinstDLL; UINT cmdCtxCustom = 0; UINT cmdCtxJournal = 0; UINT cmdCtxSales = 0; UINT cmdCtxFax = 0; UINT cmdCtxAdd = 0; UINT curCtxCmd = 0; const int WM_CUSTOM_FLDS = 0x0415; const int WM_JOURNAL_FLDS = 0x0416; const int WM_SHOW_SALES = 0x0407; const int WM_FAX = 0x0431; const int WM_EDIT_CONTACT_EXT = 0x0408; ContactsContextMenu::ContactsContextMenu() { MessageBox(0, L " ContactsContextMenu " , L " Constructor " , 0); m_cRef = 0; m_punkSite = NULL; ++g_cRefDLL; ...Show All
Visual C# Creating a new Object w/ a Button Click event how to call the object constructor
I appreciate any and all help. Error with calling my object Class. Here is my button_Click code for creating a new Pack object which calls the Pack class. How do I call the Pack class and create a new object from a button click private void Add_Click(object sender, System.EventArgs e) { Pack p = new Pack();//object created try { p.setID = Convert.ToDouble.Parse(this.packageID.Text); //set the packageID p.setAddress = this.address.Text; //set the packageAddress p.setCity = this.city.Text; //set the packageCity p.setState = this.state.Text; //set the packageState p.setZip = Convert.ToDouble.Parse(this.zip.Text); //set the packageZip Boxes.Add(p); //ad ...Show All
Visual Studio 2008 (Pre-release) Storyboard pause behavior
I have a storyboard animation running forever and want to pause it when the element is not visible - the animation continues to run as evidenced by cpu usage. When the animation is running, cpu usage is about 22%. With storyboard sb, sb.stop stops the animation (cpu approx 0%) and returns the visual appearance of the element to the initial appearance. sb.begin(me,true) starts the animation again. When sb.pause is used, the visual appearance freezes and the cpu usage drops to 8-10%. When sb.resume is called, the visual appearance jumps ahead to some appearance proportional to the amount of time since sb.pause was issued. So, it looks like sb.pause freezes the visaul changes but does not pause the animation clock. Is this corre ...Show All
SQL Server Scheduling the SSIS Package to run after every 2 mins
How can i plan the execution of a package For example, i want to execute the package every 2 minutes for all the time. I do not want to use SQL Server Agent to do this. I want the package to self contained to do it. Thanks Rohit Can I use a WMI EventWatcher task for this ...Show All
Visual C# AcitveX Importer in C#
Hi all, I have situation in my project, where I need to use aximp.exe (ActiveX importer) to get the .ocx control (say flash) work on my windows form.This is easy when I am importing the activex control in design time to my windows form but my problem is I have to add any ocx control in runtime.For this problem I have to get AxInterop for the ocx control using the aximp.exe, my question is how I run aximp from my application in runtime in invisible mode . Thanks ...Show All
Visual C# How can i convert float to int?
float h[4] = {0.4830f, 0.8365f, 0.2241f, -0.1294f}; float g[4] = {h[3], -h[2], h[1], -h[0]}; int *yhigh = &yin[N/2]; int *ylow = yin; I have this kind float, like in first line. how can i convert them in int These are used in a calculation. Please help me. Like he said, use Array.ConvertAll(). You can use it like this: private static void Test() { float [] farray = { 1.0f, 1.4f, 1.5f, 1.6f }; int [] iarray1 = Array.ConvertAll< float , int > ( farray, new Converter< float , int >(FloatToInt) ); } private static int FloatToInt( float f) { return ( int )Math.Floor(f+0.5); } You can also specify the conversion function "inline" using somethin ...Show All
.NET Development Strange behavior when making remote call
I'm calling a remote server (client activated, hosted in WinForms app). A simple call without parameters (or with a simple string param) works fine. When I pass certain parameters, it crashes. Build is the remote class. This call to CreateBuildTree() works: Build prp = new Build (); prp.CreateBuildTree(); This one doesn't: Build prp = new Build (); string BuildDir = prp.GetBuildDir(); TreeNode root = new TreeNode (); root.Text = BuildDir; prp.CreateBuildTree(root, BuildDir); even when CreateBuildTree doesn't contain any code!!! public void CreateBuildTree() { } The error I get on the client side is "Server encountered an internal error. For more information, turn off customErrors i ...Show All
Visual C# Accessing GIF from Embedded Resource
Hi all, I am getting a NULL exception from the following code.... Assembly asm = Assembly.GetExecutingAssembly(); Bitmap backgroundImage = new Bitmap(asm.GetManifestResourceStream("bg.gif")); Is it because I am putting a GIF into a Bitmap If so, how do I extract a GIF from an embedded resource Tryst it should be this...try this: Assembly asm = Assembly.GetExecutingAssembly(); Bitmap backgroundImage = new Bitmap(asm.GetManifestResourceStream(Application.ProductName + ".bg.gif")); also, the filenames are case sensitive ...Show All
