TJ2007's Q&A profile
Architecture Need help on solution architecture employing BizTalk Server & MSMQ Server
Hi, I have a potential software project for a large ad composition agency. The requirement is briefly as follows: 1. There will be front offices located in more than a dozen locations across multiple states. These front offices would be posting requirements about advertisements to multiple back office located in some other country. Each front office would have about 10 users. 2. Each ad could be approximately 6MB in size consisting of metadata and graphic files. 3. There will be 3-4 back offices with about 200 users in each location. 4. Jobs posted by the front offices wou ...Show All
Visual C++ What is managed, unmanaged ?
Hi all, i'm not totally clear with some concepts about managed and unmanaged code. I'm asking myself some questions, i hope you can answer to one or maybe more ... : I've a MFC application, I want to use the dotnet framework by switching to /clr compilation mode and some code line like this : StreamReader ^ sr = gcnew StreamReader( "file.txt" ); String ^ myText = sr->ReadToEnd(); Is my application in CLR, or only the call to the framework what is managed / unmanaged - I've a winforms application, compiling with /clr:pure , i'm calling such a function : int add (int a, int b)= gcnew StreamReader( "file.txt&qu ...Show All
SQL Server best approach
I've been banging my head for a while now, and it is sore! :-P I'm a best practice/Microsoft approach type of person and want to make sure I do things correctly. I have a database, kind of like a forum. Obviously executing multiple queries in one "batch" (stored proc) would have an impact on the performance. Now, I would like to give a more detailed/specific error back to the caller (either by aid of error code or whatever) with such situations like... "EditReply" Edit reply takes the threadID, replyID and userID. Before actually commiting the changes, it needs to check: 1) does the user ex ...Show All
Windows Forms Cannot write to a richtextbox
Hello guys, I'm just a newbie as far as VS2005 and winforms go, so please bear with me on this question. I'm implementing a windows forms application that has tab controls and one of the tabpage containing a rich text box. I have a public function in "Form1.h" that takes in a string as input and outputs it to the text box. public : property String^ AppendValue // PassedValue property { void set(String ^value) { // MessageBox::Show(value, "test" , MessageBoxButtons::OK, MessageBoxIcon::Information); AppendText(value); } } Now, I have a main.cpp file that runs this Form1 ...Show All
Visual Studio 2008 (Pre-release) how can i get shorcut keys
Hi here i'm trying to create a simple menu with simple operations like file open , file close and etc.. how can I get control keys (shortcut keys) for that menu. For example ctrl+s for save , alt+f for open file menu and etc. Thanx-Nagu As an example, you'd want to do something like this: <Window.CommandBindings> <CommandBinding Command="ApplicationCommands.Open" Executed="OpenExecuted"/> </Window.CommandBindings> <Menu> <MenuItem Header="_File"> <MenuItem Header="_New"> <MenuItem Header="subitem"/> </MenuI ...Show All
Windows Forms Combo Box Problem with String Display Member and Number Value Member
Hi, I have been trying to figure out what wrong for a few day already. I was not able to find any answer to the problem in the forum. If anyone know of any or know what's wrong pls help me. Thank you. Table Information: PurcOrder Table PurcOrderID PayeeID (Datatype ==> Number) ... ... Payee Table PayeeID (Datatype ==> AutoNumber) PayeeName (Datatype ==> Text(72) ) I'm writing a project managment system for construction using VS 2005 and Access 2003 as the db. I have a combo box in a win form binded to PurcOrder Table. Payee ID is a combo box. the display member is set to PayeeName in payee table while the ...Show All
Visual Studio Clickonce and ReportViewer
When user try to run the winform application I deployed using clickonce thru http, they keep getting an error saying “could not load file Microsoft.ReportViewer.ProcessingObjectModel”. Within the application, I do import the namespace Microsoft.Reporting.Winforms to support local hosted report parameters. I make sure both assemblies (Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WinForms) are included, even as local copies. The application runs fine where the VS2005 is installed. Now after searching this forum, I tried to copy the ProcessingObjectModel dll and add that to project reference. User is gett ...Show All
Windows Forms Manipulating the Form's system menu
Hi all, I want to add menu commands to the system menu (the menu that opens under the controlbox). I've done this by declaring external Win32Api calls: [DllImport("user32.dll")] static extern int GetSystemMenu(int hWnd, bool bRevert); [DllImport("user32.dll", CharSet=CharSet.Unicode)] static extern bool AppendMenu(int hMenu, uint wFlags, uint wIDNewItem, string lpNewItem); and then calling these (as& ...Show All
Visual Studio Express Editions Choose Items Error
http://knd.org.uk/files/deskvb.PNG This is what I get when I try to go to Choose Items from the toolbox right click thing. How do I stop this Eliminate the skins: I know it's nice and all, but it can cause problems - and since you are doing things with a specific window (toolbox window), it may be causing problems. To troubleshoot such a problem, go back to as basic an install (of windows) as possible. Stop applications from starting up at startup, perhaps going as far as uninstalling things. If all else fails - try a clean install of windows (time consuming, but if you want a problem solved, you need to eliminate the cause). ...Show All
Visual Basic Issue Setting Bookmark Background Color
I tried to edit the background color for Bookmarks thru Tools-Options-Environment-Fonts & Colors-Item Background with no success. Bookmarks should have a light blue background color by default which of course doesn't work either. I edited the background color for Breakpoints as a test and it worked just fine. Am I doing something wrong here or is this a bug in VB 2005 Professional You need to turn off the 'indicator margin' under tools/options->text editor->general to see the colours. You'll only see a small square unless you do this. ...Show All
Visual Studio 2008 (Pre-release) Why will LINQ fail ?
Microsoft tries to helping object developers to close the gap between the relational world and the object world.And they call this " object modelling approach " Dlinq. Using " custom business entities " in enterprise programming with Dlinq might seem the best thing after " sliced bread " but it isn't. For my part I have written my Mappers and used commercial OR/M tools. They mostly provide the same thing. __Read the table from the database. ___Put that into a some HELPER thing.( DAO,DAL,ORM) ____Put that into your custom business object _____Read from your business object.(if u can :) ) I see NO REASON for this " Unnecessary Pull ...Show All
Visual Basic how to add a "spinning icon" while my program is running
my program takes around 5 seconds to finish each task i'd like to put a spinning picture to make this waiting less boring just like in many installation programs how can i do that what image format should i choose thanks I guess an animated GIF is the obvious choice. Your UI and tasks should be on seperate threads for this to work, you can call Application.DoEvents in your loop if you prefer. ...Show All
Visual C# using details view with objectdatasource.....
Q: how do I ...use a details view in conjunction with gridview to drill down into data....but using it with an objectdatasource instead of a sqldatasource... ........ Thanks!!!!.....Ken..... ...Show All
SQL Server Access Script Task
Hi, How to access the Package inside the Script Taks. for example IF intStatus = 1 Then //Execute Package1 Else //Execute Package2 End IF in the above sample what is the property to get the Package1 object in script Thanks & Regards Jegan.T You should use the Execute Package Task in order to execute other packages. Any reason why this doesn't work for you -Jamie ...Show All
Visual C++ Unable to use C++ Express Beta1 project in Beta2
Hi, My test project from Beta1 loads fine in Beta2, but when I try to open a Form in design mode I get the folowing error : Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Microsoft.VisualC.CppParserResources.resources" was correctly embedded or linked into assembly "Microsoft.VisualC.VSCodeParser" at compile time, or that all the satellite assemblies required are loadable and fully signed. And when I try to compile I get a lot of error from the form.h file like : ------ Build started: Project: Test, Configuration: Debug Win32 ------ Compiling... Form1.cpp d:\test\test\Form1.h(3 ...Show All
