JFlash25141's Q&A profile
Visual Basic web service help
Hi thanks for your help. I did change the URL behavour to Dynamic, but it didn't help then I change the URL to my machine Name and install the compile web Service to my local machine the reference the compiled one, for the first time it tries to communicate via the network but return an error saying : Access Denained. But the first error before changing the URL and the behaviour is Method not Allowed. So with the error: Access Denained that means their is something wrong that I don't know. Please Kindly help. Could you try to access the web service on your machine through IE (Or you can try to create another application, and add re ...Show All
SQL Server Update existing columns
I need to create an SSIS package that updates columns in a table from columns in another database where the keys match. What's the best way to do this As with most things in SSIS there is more than one way of achieving this but the default method here is to build a data flow that extracts data from the "other" database, then use an OLE DB Command transform to do the update. -Jamie ...Show All
Smart Device Development I can't reach Win CE emulator from .NET 2005
I want to deploy application to win CE emulator. I installed win CE 5.0 emulator but when I want to deploy it I cannot see Win CE emulator option on deploy window. should I need to change some option thanks Ozer Ozkan The WinCE 5.0 emulator image that you have is not compatible with VS 2005. The Win CE team will soon be releasing an image that can be rolled from PB and is compatible with VS 2005 Stay tuned! ...Show All
Visual Basic Dragging the form without using the title bar
I have a problem on my splash screen, i set the borderstyle to none. How can I drag the form without having the title bar. I am using Visual Basic Express You need to write your own code to catch a click on the form, and move the form as you move the mouse with the button down. ...Show All
Visual Studio 2008 (Pre-release) HelloWorld logging problem
Hi, Well, I was working on this very simple yet useful tutorial. http://wcf.netfx3.com/content/BuildingHelloWorld.aspx Then everything was going well till I reached the "Setting Up Logging" section. I followed the instruction even though SvcConfigEditor looked a bit different especially there's no Create button nor Logging tab.But I opened the app.config fille of the service and Under Diagnostic, I checked Default Message Logging, and under Message Logging I set to true both "LogEntireMessage" and LogMessagesAtTransportLevel". Saved the change and run the service and client .exe files, closed them and wen ...Show All
SQL Server How to add 'ALL' as report parameter in drop down with other parameters
Hi ALL, I would like to add 'ALL' to other report parameters.The other report parameters are counties.I would like to add 'all' so that user can select all counties from drop down. I added union select 'ALL' to sub query. in main query @county='all' is it right or wrong.After I did this report is running very very slow.performance problem begins. what exactly is the procedure to do. thanks r sankar Hi - You should be able to add an "All Counties" option to your drop down list without a much of a performance hit. For the dataset that is the basis for the parameter list, have something like this: SEL ...Show All
Visual Basic Sql date simple question
Hi there, I want to select the first day of the actual month. i tryed this: select dateadd(mm,-1,getdate()) but it shows me the actual date, less one month not the first day of the amonth. Thans everyone Not to be too simple, but the first day of the month is the 1st. Are you trying to find if its a monday tuesday etc... Are you planning to use it as a query parameter ...Show All
Visual C# Application settings
hi, i want to know what's the difference between those 2 ways in saving variables and which one is better or what's the use of each one 1) MyControl.Property = global ::MyApp.Properties. Settings .SettingName; i saw the designer use this way can i use this way to save my variables like for example userName and password when the user check remember me check box 2) string user = ConfigurationSettings .AppSettings[ "UserName" ]; this method give me warrning " i should use ConfigurationManager , but when i type ConfigurationManager it give me errors as if no class so called like that, also when ...Show All
Visual Studio Team System Uploading a file during a webtest
I'm trying to create a webtest that at some points uploads various types of files (image, audio....). When I replay the webtest, at the point where its to upload the file I get an error.... Request failed: Could not find file '............\My Documents\Visual Studio 2005\Projects\SQL2005 Load Test\TestResults\ directory \Out\testimage.jpg' But the file testimage.jpg does not exist in that directory cause the directory is created at the time of the webtest being run. Is there something that I'm missing here that's telling the webtest to look for the files in the newly created directory rather than the original directory tha ...Show All
Windows Forms Binary serialization to a shared store, is it possible?
Hi I am in the middle of writing the second part of my free control library that I hope I will post on my web site at the end of this week, if I solve this problem of course :) I am trying to create a common theme store component that can be used by the controls in an application; the main idea is to provide the component ...Show All
.NET Development Bitmap Load and Save
Hi All, sure this is obvious to most of you, but please be patient and Help me : I load a bitmap with: imgInternal = new Bitmap (path); pictureBox1.Image = imgInternal; when I try to save it (not modified, nor even touched !) with: imgInternal.Save(saveFileDialog1.FileName); or imgInternal.Save(saveFileDialog1.FileName,imgInternal.RawFormat); and the image is saved as a 32 bit BMP. I want to keep the original format, how can I do Thanks in advance. YdN Am not sure if this helps,but I hope it does. Try this- Image mage = Bitmap.FromFile(@"C:\Documents ...Show All
Visual Studio Express Editions how to add new line in messagebox
in vb.net, " &vbnewline& " is used to add a new line in the messagebox.show(); e.g. messagebox.show("this is first line" & vbnewline & "this is second line"); how to do it in c#.net plz help In C# (like most C derived languages), escape characters are used to denote special characters such as return and tab, and + is used in place of & for string concatenation. To make your code work under C# you’ve got two options... the first is to simply replace the vbNewLine with the return escape character \n ala: MessageBox.Show("this is first line" + "\n" + "this is second line" ...Show All
Windows Live Developer Forums Errors in contest entries?
Some of us who've submitted our entries to the contest may not be aware of bugs in our apps. If you find one, please post it here. We can determine if the problem is in the Activity API or our app's code and then elevate any relevant issues. Please include: The name of the app The exact error message (including line number if displayed) Steps to reproduce the error An objective suggestion to correct the problem By the way, my app is "Rockhopper's Race for Fish". I'm anxious to hear how it works for you. Thank you! Nick, could you please elaborate on the environment in which you got that error I also have XP w ...Show All
Visual Studio 2008 (Pre-release) Canvas, Rectangles, ClipToBounds slowness
We are thinking about starting a new moderately complex graphical application in WPF. But before committing to the platform, we are testing features to see if WPF can handle it. >:) One test application so far has a Canvas with ~800 Rectangles (added with C# using “canvas.Children.Add(..)”. These rectangles are movable by dragging them… implemented with Canvas.SetLeft(rect, newLeft) and Canvas.SetTop(..) from the MouseMove handler. I need some tips on how to speed this up. Currently dragging a single rectangle around causes 100% utilization with 20 FPS on a Xeon 2.8GHz… even turning down to 50 rectangles seems ...Show All
Visual Studio Why MSSCCI checkout function not work?
Hi, all. I'm using SCC API to implement one SCC provider. When I do check out operation, and set file status in SccQueryInfo() function to SCC_STATUS_CONTROLLED | SCC_STATUS_CHECKEDOUT, the file icon still locks, not checkout. But if I use SCC_STATUS_CONTROLLED | SCC_STATUS_OUTOTHER, the icon is a user, it works. I'm using VS2005 and VSSDK2006.04. Here is my code: SCCEXTERNC SCCRTN EXTFUN __cdecl SccQueryInfo( LPVOID pContext, LONG nFiles, LPCSTR* lpFileNames, LPLONG lpStatus ) { for(int i = 0;i<nFiles;i++) { lpStatus[ i ] = SCC_STATUS_CONTROLLED | SCC_STATUS_CHECK ...Show All
