Answer Questions
NathanM How to split a Comma-Delimited String to insert it into SQL DB
DECLARE @I INT , @TEXT VARCHAR ( 50 ) DECLARE @EducationID int, @Education Varchar(100) SET @Education= ' Trade certificate,Bachelor's Degree,Non-University Diploma,Other Categories' SELECT @I = 0 WHILE ( @I < LEN ( @Education )) BEGIN SELECT @TEXT = '' WHILE ( SUBSTRING ( @Education , @I , 1 ) <> ',' ) BEGIN SET @TEXT = @TEXT + SUBSTRING ( @Education , @I , 1 ) SET @I = @I + 1 IF @I = LEN ( @Education )+ 1 BREAK END select @ EducationID = educationid from Education where Education = @TEXT SELECT @TEXT,@EducationIDD insert into client_education values ( @clientid , @ EducationID ) ...Show All
whitewaterdj VS 2005 SP1 Beta doesn`t want to install
I`m not commenting the decision to use windows installer patching system right now (long story short: 1GB of memory wasn`t enough), but after an hour or so the installer doing who knows what atm just died with a very informative message: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. The number was different the first time I think, when I ran out of free space. And as I click OK it just keeps poping again and again. Oh, wait... it`s stopped after 40- or 50-something clicks. Now, after some time, we have this: Error 1935.An error occurred during the installation of assembly 'CppCodeProvider,Version="8.0.0.0",PublicKeyToken="b03f5f7f11 ...Show All
Tomer Glick crystal reports 9.x compatibilty with Windows Vista
Unable to gauge out whether Crystal Report 9.x is reqd as minimum or absolute in Windows Vista if not then which version is required as minimum and/or absolute in Vista Thanks and Regards Luv Walia As I said in my two previous posts, CRXI works on Vista (both standalone app and report designer component). CR9 works, but not the report designer component (only the standalone app). Hi Disti, I have the same enviroment with you but I cannot run. Can you send me your crystal 9 runtime files . when I try manual register the dll filel , I can only register the craxdrt9.dll and crviewer9.dll I cannot register such dlls even I run as administrator: crqe.dll,keycode.dll ...Show All
Badpig How do I setup WSS extensions so that a user account OTHER than administrator can deploy web parts?
I have installed Sharepoint Services and Visual Studio 2005 Professional with the WSS extensions so that I can develop web parts. I have two users on the box, the Adminstrator and me (jstr) I have set my user account up to be a member of adminstrators, and although the Administrator created the Sharepoint Site Collection, JSTR is listed as number two, and can do everything on the Sharepoint sites that the Administrator can. When I create a simple "Hello World" type web part, the web part deploys perfectly if I am logged in as Adminstrator. If I am logged in as JSTR, I get "no sharepoint exists at the specified URL". This is the same project just running out of two different logon accounts. I am baffled. I'd rat ...Show All
NoEgo Export Bottom, Can I get this event.
Hi, I need one help to get the event export for this control viewer Thanks ...Show All
GPC44151 Call WCF asynchronously
How can I call WCF service asynchronously from client Can we use VS 2005 Add Service Reference to generate proxy which support asynchronous call No. You need to run svcutil with the /async command line switch (/a is the short version) Is asynchronous call is recommended practice in WCF Is not, life is easier in WCF than in Web Service. If yes, would MS consider adding asynchronous call functions in "Add Service Reference" so that "Add Service Reference" can become a useful tool. ...Show All
Mazzica Named Pipe Transport Security
Hello, I am attempting to enable transport security over a named pipe binding and I'm receiving the following error: System.ServiceModel.Security.SecurityNegotiationException: The server has rejected the client credentials. ---> System.Security.Authentication.InvalidCredentialException: The server has rejected the client credentials. ---> System.ComponentModel.Win32Exception: The logon attempt failed --- End of inner exception stack trace --- at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowe ...Show All
GeniusManiac Determine When finished rendering and other Properties
I can't get the Print without Print Preview code to work so I'm going to try another route. Is it possible to tell the ReportViewer control to print via code I'll let the control display the print preview but then I want to print the report with out the user having to click on the print button. Two issues I see immediately. One is how to determine when the report has completed it's rendering. Doing this code causes an error frmReports.Show() frmReports.ReportViewer1.PrintDialog() With the error " Operation is not valid due to the current state of the object ." which is probably due to the report still rendering. Next, I'm hoping that once the print dialog is displayed, I'll be able to use maybe Sendkeys to "cl ...Show All
ShawnT123 javax
hi, i have the java sdk and the ktoolbar, and i have java examples of how to program in j# for a mobile phone. But the thing is is when i try to import javax like the examples, its says it cant find it, e.g. import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; it just says it kant find javax any help wold be appreciated -alex ...and it will probably never be available in the near future. J2ME is very dependent on the device it's installed on and it's resources. vjssupuilib.dll is the Supplemental UI Library included with Visual J#, and provides equivalents for much of the functionality described in the Java 2 JFC Swing specification. So p ...Show All
Jesse Motes Problem binding to Applicaiton Setting to combobox
I have an user application setting of type integer. I bind the setting to the combobox's selectedvalueproperty. The Default value of the setting is 8, but when I start up my app the combobox's selecteditem is not 8. //Bind Number of visible days setting to combobox. ComboBoxItem cbi; ComboBox cb = (( ComboBox )( this .FindName( "NumOfVisibleDays" ))); for ( int i = 1; i <= 60; i++) { cbi = new ComboBoxItem (); cbi.Content = i; cb.Items.Add(cbi); } //Bind Number of visible days setting to combobox. bd = new Binding ( "NumberOfVisibleDays" ); bd.Source = Properties. Settings .Default; BindingOperations .SetBinding((( DependencyObject )( this .NumOfVisibleDays)), ...Show All
RobSteele XAML without cider?
Hello, I have a two questions! :) I read that cider will be part of next VS 2007 but does that mean that there will be no Cider RTM Pack for VS 2005 when Vista and Net.3.0 RTM start shipping Does that mean that we wont have the possibility to code inside a stable VS 2005 environment when Vista and Net.3.0 RTM ships But then i still need to fight with parse,wrong debugger and schema errors or not I mean when i press F5 to debug, is orcas included in that routine Does the errors showed at bottom in the debuger depends of the unfinished orcas CTP No answers Is there really no way to create a xaml/c# VS project, write xaml/c# code with code completion ...Show All
Jack Hoxley Custom Add File and Linking File
Hi All, When you right-click on Debugging in Solution Explorer in Debugging window, you can add a new item with your own DSL template. Can I perform this with just clicking a button I made by myself Second one, let's say I add two new DSL files; test1.mydsl and test2.mydsl. How can I link these two files For instance, in test1.mydsl I make the relation between System1, System2, and System3. And in test2.mydsl the full diagram of System1 is specified. Can anyone please help me, or point me to links that are related Thanks in advance. Herru Herru, To answer your first question. This would be best implemented by using the Visual Studio Extensibilty options or some of the features of the Guidance Automation Toolkit . I i ...Show All
ThE_lOtUs Can't install, get error
Using XP64 ver. 1069 Get an error that background intelligent transfer system is not enabled. I try the troubleshoot, but all settings match and diagnostic tools they say to use won't run, because errors say "for windows xp only" or "for other architecture" It is supposed to run on this version I according to the list I think. Thanks. Hi -- I cannot install any updates on my computer. I get error message 0x80246008. Troubleshooting says it is due to the Background Intelligent Transfer Service. I followed all of the instructions to enable it. However, when I try to start it in the Services window, I get error code 2147024894. Any ideas This is driving me crazy! THANKS! ...Show All
kiran1234 Help on the error. The service certificate is not provided for target 'http://localhost/servicemodelsamples/service.svc'
Hi, I am using the WCF Sept CTP release, http://www.microsoft.com/downloads/details.aspx familyid=C6636E90-26E6-44E0-8780-5D3CCD3D94ED&displaylang=en I am running the Certificate sample "C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\WCFSamples\TechnologySamples\Basic\Binding\WS\MessageSecurity\Certificate\CS" The sample works fine with wsHttpBinding. I changed the binding to " basicHttpBinding " both on server side and client side. I get the following error: The service certificate is not provided for target 'http://localhost/servicemodelsamples/service.svc'. Specify a service certificate in ClientCredentials. Thanks, - Pankaj. Hello: From the SDK documentation: " ...Show All
Bonebreak VSTO 2005 SE: one assembly for Office 2003 and 2007?
Hi, can I use VSTO 2005 SE to create one Add-In per Office application which supports the versions 2003 and 2007 in one single assembly I would like to query the given Application object which type or which version of a type it is to e.g. create a ribbon element in Word 2007 or a command bar in Word 2003. How would I set up my dev machine if I want to develop for Outlook 2003 and Outlook 2007, as it is not supported to have both versions installed on one machine -- SvenC There 2 questions here: Can you develop an add-in for Office 2007 and Office 2003 and be able to take advantage of the 2007 capability. The second question is "can I debug/test both Outlook 2003 and Outlook 2007 on the s ...Show All
