K.R. WEBER's Q&A profile
Visual C# Active scripting and webservices
Hi all, I've been tasked with writing a c# application and finding a way to execute a script via a webservice using active scripting! i.e. we currently have script files (using javascript) that call custom functions found in a COM object. What we're looking to do is to do the same thing but instead of using a COM object, we'd like to use a WebService. Is this at all possible I suppose since everything in it's basic form is an object that it could be...but then I could be wrong! Any information, or recommendations would be greatly appreciated. Regards, Rowan. This article might help http://msdn2.microsoft.com/en-us/library/ms996450.aspx ...Show All
Visual FoxPro Genral question about FoxPro
Hi, I'm using VFP 6.01 ODBC driver to connent perform querys, etc. When I'm using VFP 9.0 i'm and creating a query with the "query wizard" the query take less time then it's taking me (i'm using SQLExecDirect). what can I do to get better resualt can work with FoxPro driver directly Or maybe OLE DB is more efficient I have someother question can i get the number of records returning from the query Now i'm using A Count query to get the number or recods. Thanks Ishay Both ODBC and OLEDB drivers are fast and OLEDB driver is preferred. There were even some reports that VFPOLEDB driver results were faster than native VFP (I have never tested myself). ODBC driver isn't updated sin ...Show All
SharePoint Products and Technologies Application definition file for BDC
While creating the application definition file for BDC ,can we have multiple methods in same entity. I keep getting error that Application definition import failed. The following error occurred: Method Instance of Type 'Finder' already exists on Entity with Name 'dbo.UserInfo' and Id '1059'. Parameter name: type Error was encountered at or just before Line: '85' and Position: '5' You can only have one Finder method per entity, but you can have GenericInvoker methods! :-) Check the MOSS 2007 SDK as it's well documented in there HTH Nick ...Show All
.NET Development Where does the connection string go in web.config????
I start a new ASP.Net web app, and it give me this web.config file by default i am using VS.Net enterprise architect .net framework 1.1 here is the web.config....Where do i put the connection string which is this.... <appSettings> <add key="connstring" value="Server=(local);Database=Northwind;Uid=dpo;Pwd=dec;" /> </appSettings> < xml version ="1.0" encoding ="utf-8" > < configuration > < system.web > <! -- DYNAMIC DEBUG COMPILATION Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to false will improve runtime performance of this application. Set compilation debug="true" ...Show All
.NET Development subclass collection attributes
here is my class [XmlRoot("Super")] class Super{ private Sub() subs; ... } [XmlElement("Sub")] class Sub{ ... } when I serialize it, i get this xml: <Super> <Sub> ... </Sub> <Sub> ... <Sub> </Super> Instead, I want it to be like this: <Super> <Sub1> ... </Sub> <Sub2> ... <Sub> ... </Super> What should I do to make it what I need Thanks It is not possible to achieve exactly what you want..... however you may get closer using XmlChoiceIdentifierAttribute, pls take a look: http://msdn.microsoft.com/library/default.asp url ...Show All
.NET Development More error info:
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
Windows Forms FORM.MDIPARENT=ME
Hi again, well i have a new problem, if any can help me i will very happy =D: here all can download the problem, thankz for the help, if any know how i can resolver the problem, please reply this post. Cya - http://es.geocities.com/ilidan121/help.zip whyi cant see the form2 Hi there, Any controls that you place on a MDI container form will appear in front of the Child forms. This behavior is by design, and as far as I can tell, there's no way to work around this. You could use a menu to open other forms. An alternative might be to use usercontrols instead of forms and dock them inside the 'mainform' Hope this helps, ...Show All
Visual C# Cross-working between two or more Forms
I suspect this is a very basic question, which I just haven't encountered so far in the literature. Writing in C# within VS 2005 for Windows Forms development, I want to develop an application which consists of two or more different Forms. I want one of these Forms to contain all the control buttons for driving the application, these buttons causing different actions on the other Forms. When I tried rather simplistically to create and run a trial application consisting of two Forms, with a button on one intended to change the text of a label on the other, it failed at compile time, with an error message saying that my reference to Form2.Label1.Text, was not allowed, IIRC because of the security settings. What should I have done to ...Show All
Visual FoxPro How to convert Visual FoxPro 6 to visual foxpro 2005
I know this is my first post here, but i need some help. I have a project in visual studio 6 and my installation cds are lost. I'm trying to make some changes to the tables of my program (eg i need to make a column1 in table a to accept 10chars instead of 5). I can change this in visual foxpro 2005 but when i'm trying to compile the project again i'm getting errors about the menus, it can't find this and that. The questions are.... 1) Do i have to convert the code or something else to the new version And if yes how i'm a going to lose data or anything Are any functions i have to pay attention if they work the same way 2) Is there any other way to change the code and the data structure of the tables Thanx in advance for a ...Show All
Windows Forms Default Date - Outlook,Calendar,Look,Feel
I can not Figure out how to set the default date to Today in the Day View. It keeps coming up as July 21. Any one see this and know where in the code to change. Thanks The problem (if it's the same as mine!) is that when you view the outlook calendar, the selected date is not today. In my case it is 5 weeks ago (25th Sept instead of the 31 Oct). Found the cause of this on http://www.slipstick.com/calendar/wrongdate.htm . Basically it's because outlook always shows the 1st day of the current month and because the month view in outlook displays 5 weeks it can cause this behavior. Follow the link for more details The upshot is I couldn't find a cure but it will only happen a few months of the ye ...Show All
Visual Basic Saved and used again?
How do i do this I want to play the file selected by the user from the list box. Which is saved to My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData. sUserSelected not sure if this is right or not. The way I have it is not working, I've also tried using & instead of + but no luck. Dim sUserSelected as String Player.URL = "C:\" + sUserSelected + "\ThemeTune.mp3" This works OK Player.URL = "C:\ FolderName \ThemeTune.mp3" pbPicture.Image = Image.FromFile( String .Format( "C:\ FolderName \" & "Pic" & intNumber & ".gif" )) What I want is for the user to pick the name of a folder from the lstTheme ListBox, then have i ...Show All
SQL Server Hide 'New Subscription' in the explorer bar
Hello We do not want the end users to know of the subscription capability. How do we hide 'New Subscription' link for a report. Thanks indersunny, Click on the Browser and you will get : - Assign the approciate security. elect one or more tasks to assign to the role. Task Description Consume reports Reads report definitions Create linked reports Create linked reports and publish them to a report server folder. Manage all subscriptions View, modify, and delete any subscription regardless of who owns the subscription. Manage data sources ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Short video of Gamefest Keynote found
Hello everyone, Found a highlight video from the Gamefest keynote, it is posted on Paul Mooney ’s blog direct links can also be found on my blog . Space Wars really looks good, nice work for 3 weeks. I am hoping we can find video of some of the presentations or reports about them. Update: The whole video is now up and is found here , thanks to Gamescore Blog low bandwith here Arrggggghhhhh! Work....filter.....blocking! Guess I'll have to wait until I get home to check it out. ...Show All
Windows Forms Microsoft Outlook contact modifying issue
Hi All, I am using visual studio .net 2005 tool and frame work 2.0. language C#. Here i am trying to modify the properties of a contact item in Microsoft Outlook application through my local desktop application. I am able to modify most of the properties like namefirst, fileas, phone number etc. But i am not able to modify the private property of the contact item. Can you please tell me how can i achieve this. In Outlook.ContactItem class, i don't see the property for private. Regards, Anand Hi Anand, you can accomplish this using the Sensitivity property of the ContactItem class. If you have a contact object which is a ContactItem you can use: contact.Sensitivity = OlSensitivity.olPrivate; The OlSen ...Show All
Visual C++ changing colour of a cell in grid
Hi, i am using grid (dialog box) having 4 rows and 3 columns (total 12 cells) in visual c++ 6.0. i want to change the colour of a particular cell at runtime for a particular value. how can i do it Thanks and Regards Munish Gupta Hello Munish It doesn't look as if the SSDBGrid Control is a standard VC++ control and it seems to be a 3rd party control. You should ask on their support forums or contact their tech support. ...Show All
