SkiesOfBordom's Q&A profile
Visual Studio Why So Many Unanswered Questions
If this forum a source of information and problem solving Does anyone from Microsoft monitor the posts in here Has Microsoft abandoned this forum I have never seen such a high percentage of unanswered questions. I like the report writer control. Have used it in many situations but I am at a loss to why there is such little feedback and question answering. Is there a better source for problem solving related to the report control I would love feedback from other frustrated individuals who also have attempted to use this forum as a source of knowledge and problem solving. I don't know why, but it does feel the support is lacking. Maybe this isn't a long term project for MicroSoft, they don't want ...Show All
Visual Studio Express Editions Noob Frustration
Hey all, You are probably tired of me and this issue. I can understand that. But this is becoming frustrating. First, I want to thank all those that have helped me so far. I know that this is probably a HUGE noob thing that you all can do in your sleep. I, however, am becoming very frustrated with it. I understand the use of OpenFileDialog, SaveFileDialog. I understand that the use of RTF methods (LoadFile and SaveFile)would be better, but I want to understand how Notepad performs its function. I think that StreamWriter is likely what I want to use but I am meeting with great frustration in attempting to use it. What is I want to do I want to know how to use Save that is used within Notepa ...Show All
Visual C++ How do VC++ set the Size and 'Topmost' of a console window?
I looked up MSDN and found the API function ' SetConsoleWindowInfo ' ,which can resize,according to MSDN, the size and position of a console window, however,I tried it and found it doesn't work at all.I don't understand why the API doesn't work on my PC(IDE: VC++ 6.0 OS:WinXP SP2). Some books says the API function, SetWindowPos ,can changes Z order of a child, pop-up, or top-level window.I want to set the console window as the topmost window,so I use the API function ,but I don't know how to get the handle of a console window,I tried to get a console handle by the sentence, consoleHnd = GetStdHandle(STD_OUTPUT_HANDLE); Unfortunately,I got the following error message: error: argument of type "HANDLE" is incompatible ...Show All
Visual C# question about "using namespace"?
I create 2 projects (P1, P2) and the 2 projects have 2 namespace (N1, N2; N1 belongs to P1, N2 belongs to P2). I could use "using X=N1", but i can not use "using X=N2" at project P1, P1 can not find the namespace N2. I know it can, but if I should change some settings thanks! BTW, if i put both of the 2 namespace (N1, N2) at P1, then whatever i could use "using X=N1" and "using X=N2". not really sure I follow *confused* - will re read but perhaps the project you are trying to access from the other project has not been added as a reference in the project, so add a reference to the project/namespace you are trying to access - you should then be able to access it. example I have 2 projects ...Show All
Smart Device Development HttpWebRequest.GetResponse doesn't return any data.
Hi All. I am calling a webservice from my PDA application, The webservice is on localhost. I am putting my request to the webservice through HttpWebRequest.GetRequestStream, i.e I am retrieving stream from the GetRequestStream & writing the input SOAP "< xml version=\"1.0\" encoding=\"utf-8\" ><soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"> <soap:Body><HelloWorld xmlns=\"http://tempuri.org/\"/></soap:Body></soap:Envelope> " This webservice returns a string , now i am trying to receive the output string using HttpWebRequest.GetResponse, but HttpWebRequest.HaveResponse is ...Show All
.NET Development Trying to connect to an Oracle database with Visual Studio 2005 and SQL Server 2005
I tried to import our Oracle database into SQL Server 2005 and got the following error: "Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the ORacle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed." Also, trying to connect to the Oracle Database via Visual Studio 2005 (through a GridView) yielded this error: "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater." Am I right in assuming (please don't laugh... I'm new to all of this) that I need to install s ...Show All
Architecture Stored Procedure Approach for developing Applications: An Architecture Viewpoint
Hi, I have a designed a smart client application which talks to WCF Services --> BL--> DAL and finally the database. Since I know that I would using only SQL Server for this application, I am of the opinion for going in for Stored Procedures(for its obivious benefits) and having transactions being handled at Business layer using System.Transactions. My Lead Architect is against the idea of using Stored Procs. His argument is that with SP approach it would be a question of getting the right transcation boundaries and also ensuring that the messaging and the transction are in a single distributed XA transaction. He says that these things are best achieved through individual statements and not in SP since SP's have their own txns. But ...Show All
Visual Basic list of network printers
Hello, We have a printer server. From my computer, i would like to have the list of printers installed in Printer Server. Does in VB 2005 exist a function which give me that Or an API Thanks, Ben I think you may have to use WMI From the system.management namespace to get a list of network printers. If I find some code ill be sure to post take a look at this query and see if you can implement it in the System.Management objects in some way: http://www.windowsitpro.com/Article/ArticleID/49225/49225.html here is an example of using WMI in .NET http://www.csharphelp.com/archives2/archive334.html I understand it maybe in C# but not har ...Show All
Software Development for Windows Vista Filtering activities before insertion; ActivityValidator question
Hi! I have 2 questions actually: I am hosting the designer in my app with a custom root activity as the root designer. This root activity can have child activities where exactly 1 child can be of the type StartActivity (also a custom activity) and several childs can be EndActivity. I overrid InsertActivities of the designer to check wheter there is already a StartActivity. If there is, I give a list of activities to the base.InsertActivities where I filtered out the new StartActivity which is about to be inserted. This works well for Drag&Drop operations from the Toolbox, I get my message as expected and the 2nd StartActivity is not inserted. However if I copy (using Copy&Paste) a 2nd StartActivity, my message pops u ...Show All
Software Development for Windows Vista Configuring for both 32-bit and 64-bit together
I want to start programming for Vista as soon as it's out without any hitches, especially since the reactivation is picky. I was wondering, how would one go about configuring Visual Studio to allow me to build both 32-bit and 64-bit apps I don't knwo much about 64-bit programming, but I do know SDKs like DirectX have seperate lib directories for win32 and win64. Is there a clean, proper way to make both apps simultaneously, or would I just add the seperate .libs manually to each project ...Show All
SQL Server Guideline for working on OLAP in teams
Hi all, I need some guideline for deployment of OLAP cubes. We have 2 servers (PROD and DEV) which are both SQL 2005 servers. Is it possible to work on 1 single server simultaniously The issue that we have now is that the changes from the first user are sometimes overwritten by the changes of the second user when using both online and offline development. What is the best way to be able to work with multiple persons on the same OLAP database. And is it possible to deploy only a single dimension or a single cube in case of needing to deploy the entire solution Thanks in advance, Geert The safest way to do this is to work in project mode and keep your project files under some source control system. These project files wi ...Show All
Visual C++ DLL Compatibility?
I am converting an app from vc6 to vc8 (vs2005). I've got everything to compile fine, and most of the testing looks good. While system testing in Release mode, I get an occasional crash. The dialog box says "PCSMain.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created". Even though I have drwtsn turned on, I don't see any error logs being created. Even while running the app thru VS debugger, I don't get any helpful info when it crashes. I am taking a wild guess that the problem may be a library issue. Since I am using vc8, msvcr80.dll is used. But in looking at depends.exe for my exe, it looks like my db2 stuff also depends on msvcr71.dll. So my q ...Show All
.NET Development Convert image to pure Black and white
I want to convert a tif or jpg file into pure black and white after searching in internet, I find a way to convert a picture to gray scale http://www.bobpowell.net/grayscale.htm but could I modified it to convert to black and white I have no idea about anyone could me THX I have tried to coobine the idea and written the following code public Bitmap blackwhite(Bitmap source) { Bitmap bm = new Bitmap(source.Width,source.Height); for ( int y=0;y<bm.Height;y++) { for ( int x=0;x<bm.Width;x++) { if (source.GetPixel(x, y).GetBrightness() > 0.5f) { source.SetPixel(x,y,Color.White); } else { source.SetPixel(x,y,Color.Black); ...Show All
Software Development for Windows Vista DecCTP_5270_32bit_Main_DVD Installation Problem
Hi!!! I downloaded the latest beta2 (DecCTP_5270_32bit_Main_DVD) but when I tried to install it on my laptop (TOSHIBA Satellite M45-S265 after the 1st step when restarting and trying to boot again it stops on the Longhorn progress bar screen and no thing happen I tried to boot in safe mode but the same loop I cant get to the next installation step, any idea I have the same problem - and I am on a desktop! I try to install from my existing Windows XP OS, then after it restarts - just the black screen. When I try safe mode - it keeps loading different drivers - then after loading disk.sys - it just freezes - no more activity. I also noticed that whenever the computer hangs, the hard ...Show All
Connected Services Framework Message Routing doesn't work
Hi, all. I defined a very simple ASP.NET Web service as follows (namespace omitted): [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : WebService { [WebMethod] public void Log(string log) { using (StreamWriter writer = File.CreateText(@"C:\log.txt")) { write.WriteLine(log); } } } The session manifest is as follows: <Session timestamp="0001-01-01T00:00:00.0000000-08:00" timeout="30" serialize="None" routeAnyAction="true" ackOnRouteMsgToParticipants="false" xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001 ...Show All
