Muljadi Budiman's Q&A profile
.NET Development Error: The targetNamespace parameter should be ...
I have been working with xml and xsd files, when i linking the xsd with the xml doc i get the following error: The targetNamespace parameter ' ' should be the same value as the targetNamespace 'schPicking' of the schema. However my schema file beging with: < xs:schema xmlns:xs = " http://www.w3.org/2001/XMLSchema " elementFormDefault = " qualified " attributeFormDefault = " unqualified " targetNamespace = " schPicking " > ... </xs:schema> and my C# code is: class Program { private static bool m_bValid; //Validation result static void M ...Show All
Windows Forms Detect data change
I have a form with TableAdapter, BindingSource, DataNavigator ... and bound controls. When moving to a new item (with the DataNavigator buttons) or closing the form - I need a way to detect if the user has changed anything to ask if they want to save changes. If they answer yes then I will do the appropriate .Update - if they answer no I need to cancel any changes made in the controls. Any ideas You can check out the HasChanges property on the DataSet: northwindDataSet.HasChanges -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Smart Device Development MFC CTreeCtrl on Smartphone
I create an MFC app using VS2005 for Smartphone. A CTreeCtrl (sitting on a CFormView) is not processing any keyboard input. For example, pressing the arrow keys or Action key does not expand/contract nodes. Am I missing something simple By default, CTreeCtrl on Smartphone has limited navigation: Expand/Collapse node = Action Key Move focus = Up/Down Check/Uncheck box = <nothing> A sugeestion is to override this for Smartphone so that: Expand/Collapse node = Left/Right key Move focus = Up/Down Check/Uncheck box = Action key Hope that helps. ...Show All
SQL Server Difference between 2000 and 2005
Hi, Have there articles about the difference between Analysis Service 2000 and Analysis Service 2005 Oh my gosh. There is lots and lots. One recommendation that I make to customers is to look at the migration process for a good background on this topic. It won't help you with new AS2K5 features, but it does help you transition from AS2K to AS2K5. A good resource is here: http://www.microsoft.com/technet/prodtechnol/sql/2005/asmigrtn.mspx which is part of Project REAL http://www.microsoft.com/sql/solutions/bi/ProjectREAL.mspx _-_-_ Dave ...Show All
SQL Server SQL Server 2005 CLR integration problems with unmanaged code
Hi, With SQL Server 2005 I'm trying to define a CLR integration UDF that calls unmanaged C++ code contained in a .dll. I have the following two signed assemblies: 1) 'wrapper' - this assembly is basically a wrapper class writen in C++ managed extensions code that calls a legacy library written in unmanaged C++ 2) 'provider'- this assembly offers services some of which are contained in the 'wrapper' assembly. This class is written in C# and its assembly is marked as unsafe since it is calling unmanaged code The problem is that when I run the assembly creation statement: CREATE ASSEMBLY [Provider] FROM 'c:\Development\Provider.dll' WITH ...Show All
Visual C++ Trouble making simple program.
Hi I am trying to create a simple hello world program and its not working. here is what i do i create a empty project and name it "hello" then I right click on the progect icon and go to ADD > Class > C++ > C++ Class the window pops up and I enter the class name "HelloWorld" while I am doing this the ".h file:" and ".cpp file:" auto file with the same name and their own extentions. Thats all i do and then I click "Finish" I right click on "hello" > ADD > New Item... > Code > C++ File (.cpp) give it a name like "hello2" enter the code #include<isotream.h> using namespace std; int main() { cout<<"hello"; retur ...Show All
Software Development for Windows Vista Workflow Startup in transactional way...
Hello, My WWF usage scenario requires me to startup workflow in a transaction - that is workflow should start, it should be persisted and then my startup procedure completes making completed() vote in bigger transaction. I was thinking about following solution: Let's assume that MyStartWorkflow() should work in transactional way. MyStartWorkflow() starts up workflow using workflow runtime and hangs up on an event (for example AutoResetEvent). First activity in the workflow is marked as PersistOnCompleted what causes PersistenceService to persist workflow as started and with first activity completed then, the event is fired and tr ...Show All
Visual Studio Team System SQL server management studio error
Hi When I try to create a maintance plan, it stops with a message box saying Guid should contain 32 digits with 4 dashes (xxxxxxxx....) Whats wrong Hi Yes i have them installed and running I have narowed it down to: I can create maintenance plan and exceute it, but i cant save/close (click on X) I got the guid error, but the 2 time it closes, and when i reopen there is no schedule (on demand)!! So if I create a maintenance plan, with no schedule it save/closes ok If I creat a maintenance plan, with schedule it save/closes with error Soren ...Show All
Visual Studio Customize MS Document Explorer IDE ?
Hi, I just not very happy with newest MS document explorer's ide. my monitor is not so larde (17inch) and I think there is too much header information displayed in right pane. It includes: URL bar( which is useless for me), Topic and subtopic names See also link language filter. Everything looks very tidy, but as I said these things consume reasonable amount of place in right pane. The earlier version( which still ships with platform sdk ) was much better for me. So, maybe there is some settings to tweak, and to remove at least some of information I named before Anyway, it looks like only the url bar is part of ide, other headers and li ...Show All
Visual Basic Need help with answers
I am making a program that is like a mathmatics quiz with simple questions, I was able to make the program so that you press on a command button and it asks u a question, i then have four check boxes, and i dont know the code to let the computer know which answer is the right answer and tell it to say correct or incorrect in the picture box. Lets just say checkbox1 is right.. i wrote Command1 __ click picture2.print "2x2" picture1.cls If checkbox1.value then picture1.print "correct" else if checkbox2.value then picture1.print "incorrect" end if end sub it keeps telling me something is wrong or it just writes correct in the picture ...Show All
Windows Forms Webbrowser : specify new pDisp to NewWindow
I would like to finalize the implementation of NewWindow but I am struggling with sending back the reference to the new browser. With an axWebBrowser, It is pretty straight forward : private void Browsers_NewWindow3( Object sender , AxSHDocVw.DWebBrowserEvents2_NewWindow3Event e) { newbrowser = New AxSHDocVw.AxWebBrowser; e.ppDisp = newbrowser.Application; } I would like to add the "Application" property to the WebbrowserExtended class below to do the same thing. I have tried several things without success. Does anybody know how I could do that wilfridB The WebbrowserExten ...Show All
Visual C# Aspect Oriented Programming
Is there any plans to add AOP support more formally and officially in near future We dont want to bind ourselves to third party implementation due to bad expereince of sudden end of support/participation and putting lot of effort into module owner-ship. Vikram wrote: Hi, I remember seeing a video of Anders Heiselberg - C# Architect on Channel9 website and during the interview one of the questions posed to him was enabling support for AOP in C#. Anders replied that unless there was a way for the IDE to display whats happening behind the scenes in AOP, it(AOP) would actually increase the complexity and make ...Show All
SQL Server parameter help
Is there anyway I can pass column name and column value both as parameters to serach the rows Here is the example what I want: declare @colname varchar(15) declare @colval varchar(15) set @colname = 'LastName' set @colval = 'Smith' select * from client where @colname = @colval The idea is I want to develop one qurey for all possible criteria. How can I acomplish this Thanks. Here is a way: Declare @SQL Varchar(500) SET @SQL = 'SELECT * FROM Client WHERE ' + @colname + '= ''' + @colval + '''' if you want to add more statement, just do SET @SQL = @SQL + 'your statemen ...Show All
Windows Live Developer Forums is there any c++ code samples
in msn messenger activity sdk it is written: You can use a variety of programming languages to develop your MSN Messenger Activity. Use only the following languages, unless your agreement with the MSNR Messenger Support team states otherwise: C, C++, or C# ....... where can i find c++ code samples. Hello, I need that too...In the documentation JScript and VBScript codes are included. Where can I find c++ or c# code samples... I want to learn how to write a plug-in type something for MSN Messenger... May someone help pls.. Thank you very much.. ...Show All
SQL Server DR for Crystal Enterprise and Business Objects
Have to build DR solution and subj is a part of it. Maybe some one has done it already… share the experience please. Dr in my case will between 2 different data centers, replication is san 2 san so on other side I have a warm standby that does not see san disks and will become active if and only if the primary data center is down, windows domain is the same, ip addresses, names of the servers are different. How a cluster will behave is interesting as well (I mean CE is on cluster, not geo distributed cluster). I have CE90. I’m talking to their tech support that seems to be outsourced, they didn’t really produce in 5 days anything ...Show All
