i.i's Q&A profile
Software Development for Windows Vista Activities List for a certain user - Prototype
Hi, I work on a company that wants to start using WWF on our projects and I am developing a small prototype to show them what we gain using it. My prototype is based on a small activity workflow, where I wanted to show the possibility of giving certain activites to certain users, so, everytime a user enters on the application he sees what activities does he have to work on. What's the best approach to do this regarding the part on assigining an activity to a certain logged user Thank you in advance for your answers. Regards, Bruno I'd take a look at one of two options (there may be more): Create a custom activity that assigns tasks to users. This activity could log the details of the task and get its inf ...Show All
Windows Forms GAC, Registering .NET DLL's using REGASM
Hi, Forgive me if this is in the wrong forum, as I don't have a much experience in this area. I have a question regarding a possible product we may carry, and was wondering if anyone could shed some light on something. Is it standard to create a .NET DLL that requires registration via regasm.exe I was under the impression that regasm.exe was intended for unmanaged COM dll's, and that if I would like to create a .NET DLL, then the only way to do so, is to create an assembly key file and associate it with my assembly and recompile the DLL. I guess my next confusion is how does the msi installer, which installs the DLL, know to register the DLL in the GAC the GAC is used to register your runtime dll so that when an application runs ...Show All
Windows Forms Fast DatePicker
Hello Are there Microsoft or other DatePickers in which user can switch fast between years. Thanks When you click on the year, the year behaves like a NumericUpDown. So the conventional DateTimePicker offers you with what you require. Fernando. ...Show All
.NET Development How to remove columns from DataView but not from DataSet table
Hi, I use DataSet only one times and then I create DataView many times in the cycle . This DataView is used for generating individual client offers. I want to hide RegionID from DataView, but not from DataSet dv.Table.Columns.Remove("RegionID") ' this doesn`t work Does exists something like ColumnFilter Example: Dim dsNews as DataSet Dim saGenerator As SqlClient.SqlDataAdapter Dim dv as DataView ... saGenerator.Fill(DsNews.Offers) 'only once For Each ClientID In ClientIDs dv = New DataView(DsNews.Offers) dv.RowFilter = "RegionID IN (" & IndividualOffer(ClientID) & ")" 'Each dv converting and saving to *.CSV file Next Notes: IndividualOffer - returns comma separated string ex. "1,5,10 ...Show All
SQL Server Encryption Varbinary Length
Using the new encryption included in SQL Server 2005, what is a good way to determine what length I should use for the column For example, I am encrypting a column, its maxlength is about 30 characters, but when encrypted, the encrypted value extends from between 50 and no more than 68 characters- So if I had a column with a max of 500 or so characters, how could I know what varbinary length I should set it to if I were to encrypt it, without actually finding the highest value I could possibly fit into the field Is it good practice to just make it a varbinary(max) field -rob My recommendation would be to create a dummy value of the maximum possible size (for example, on a varchar(500 ...Show All
Visual C++ CreateProcess VS2005
First id like to say i apologise for the repeat post on this topic ive seen quite a few about create process. However ive come accross a problem i havn't seen addressed before... The example works in msdn help... but im having some trouble using a variable.. ill explain... heres the working one... LPTSTR szCmdline=_tcsdup(TEXT("cgi.exe")); now the main problem is getting a variable in place there... ive tried a few things.. one being string cgi="cgi.exe"; LPTSTR szCmdline=(LPTSTR)cgi.c_str(); CreateProcess(NULL, szCmdline, NULL, NULL, TRUE, 0, NULL, NULL, &StartupInfo, &ProcessInformation); The other problem is i need to get the file to load outside the directory of the parent process... which i cant get to wor ...Show All
Visual Studio Tools for Office VS 2005 Pro, VSTO and Office 2003 Professional Enterprise Edition
anyone, i'm sorry if you've answered this question a hundred times. i looked through all your FAQ's and comments and the web in general on the compatibility of these programs and tools. On my work computer supplied by Intel, I'm running Office 2003 Professional Enterprise (has Infopath), VS 2005 Pro and VSTO (trying to run). i'm aware from your requirements from the MS Product Info page that you need the standalone versions of Excel, Word and Project or whatever since i'm running the Enterprise version of Office 2003. i don't understand why you need a less powerful version of Office 2003 with the integrated versions of those apps for this to work. is there a config, a fix or patch to downgrade my Office 2003 Pro EE (remove InfoPat ...Show All
Visual C++ error LNK2028: unresolved token (trying to attach an existing window)
Hi! I'm trying to use the FindWindow() function, but it doesn't seem to work properly. My whole program works just fine, but as soon as i add this piece of code, i get these weird compiler errors. code: static char * fWndSTATIC = "FLYFF" ; HWND fWindow = FindWindow(NULL, LPCWSTR(fWndSTATIC)); returning error when compiling: Error 1 error LNK2028: unresolved token (0A000013) "extern "C" struct HWND__ * __stdcall FindWindowW(wchar_t const *,wchar_t const *)" ( FindWindowW@@$$J18YGPAUHWND__@@PB_W0@Z ) referenced in function "private: void __clrcall FlyFFINCAPro::Form1::activateINCAToolStripMenuItem_Click(class System::Object ^,class System::EventArgs ^)" ( activateINCAToolStripMenuItem_Click@ ...Show All
SQL Server A priori algorithm in Association Rules
MS uses the a priori algorithm in Association Rules, while other DM software have gone to the Novel Algorithm. Can you tell us why MS decided to stay with the a priori Did you overcome the limitations that it's accused of having Thanks! Hi Roger, I have not had a chance to look into the Novel algorithm, but we do definitely organize the itemsets generated in a tree where by you can save space by recognizing that many itemsets share items (Some itemsets are subsets of others). It also proved important to keep the tree representation in order to be able to perform predictions efficiently where the tree serves as an index to the itemsets (and rules). Thanks, Jesper Lind (Microsoft Research) ...Show All
Visual Studio Express Editions Change all Textboxes on Form to Labels with button click
I have 24 textboxes on my form, what I would like to do is have the figures that have been entered into these boxes change to labels when I click the "Update Target" button. I know how to do this for one button per text box, but is there a way to change all of the text boxes with the click of the one button Yes, Spotty it is because I don't want them to be edited once the figures have been entered, but also because I like the look of the UI if they are labels at this stage rather than textboxes, thanks for your suggestions. Tall Dude, I tried your code and it works perfectly, my problem now is, that these text boxes are linked to buttons on other forms that add/subtract amounts from these totals ...Show All
Visual Studio Team System TF80070 Error in Microsoft Project
We are using Team Foundation Server Workgroup edition. I open up Microsoft Project and 'Choose Team Project'. Then I can 'Get Work Items' into the project, but it throws the error below before all of the work items are rendered (but they all show up after I hit OK). Also I can't 'Publish' or 'Refresh' the Work Items from Project. When I try, I get the following error: "TF80070: Team Foundation encoutered an error while performing the operation. It is recommended that you save your work and restart the application." Any help/ideas would be greatly appreciated. Looks like if I can publish changes for Bugs, Quality of Service Requirments, Risks, and Scenarios. But it gives the error when ...Show All
Visual Studio Create a macro to open the VS Style Builder dialog.
Is there any way to create a macro that will open the Style Builder dialog box in the VS editor I am wanting to have a color picker to use in the editor, when editing the SOURCE for .html files. The functionality I am looking for is to have a popup color dialog box, and once I choose a color the cooresponding HEX value for that color will be displayed where the cursor was last sitting in my document. Can this be done r3gan, You are very close to success. Your parameter to show dialog is incorrect. You need to pass in an object that implements IWin32Window and returns the HWND value of the DTE main window when the Handle property is requested. There is sample code showing how to do this in the sam ...Show All
Internet Explorer Development How do I get the notification when the active tab is changed?
I am developing a browser extension that uses the WebBrowser object. Since there are separate WebBrowser objects to each tab in IE7, I need to know which tab becomes active during tab switching. How do I get a notification for this Thanks, Mojo Have you looked at the new tab-related notifications described in Tabbed Browsing for Developers on MSDN I can't guarantee these will give you what you want, but it might be a place to start... Tab-Related Notifications When applications hosting the WebBrowser Control enable tabbed browsing shortcuts, they can receive and respond to notifications that occur when the user initiates a tab-related action, such as opening a link in a new tab. Thes ...Show All
Visual Studio Express Editions importing c code into MS visual C++ express edition
i am using c++ expression edition. i imported a c code but when i try to build it i get an error c2668. i tried to follow previous web advice but to no avail. part of the code is as follows: void InitializeApplication(NET* Net) { INT n1,n2; REAL x1,x2,y1,y2; REAL Alpha1, Alpha2; Gamma = 7; for (n1=0; n1<NUM_CITIES; n1++) { for (n2=0; n2<NUM_CITIES; n2++) { Alpha1 = ((REAL) n1 / NUM_CITIES) * 2 * PI; Alpha2 = ((REAL) n2 / NUM_CITIES) * 2 * PI; x1 = cos(Alpha1); y1 = sin(Alpha1); x2 = cos(Alpha2); y2 = sin(Alpha2); Distance[n1][n2] = sqrt(sqr(x1-x2) + sqr(y1-y2)); } } and the error is as follows c:\documents and settings\farayi\my documents\visual studio 2005\projects\bmproj ...Show All
Game Technologies: DirectX, XNA, XACT, etc. can xna compile a program for 360
hay guys , can i write a program for xbox 360 using xna i know its for games , but its a cool thing if programing a software for 360 is available i was thinking about writing a small client program for 360 for networking , u know like pc cyber cafeh program , i think it will boost 360 in network cafes if something like that is done , so player can use like a username and a password and inter thier profile , and all the data is stored in a pc .. its an easy thing to devolop i hope i can do that or someone do it.. David: really I didn't know that. Not like I'm trying to write anything but a game, but if I wanted to make a calculator for xbox 360, that's not allowed ...Show All
