Chicho Mendelevio's Q&A profile
Visual C++ About convert CString to char*
When I Search the forum with this tilte,I found there is a way to convert CString to char*.but I get a error when I compile it in vc 2005 CString hello("CString"); char* hello1=new char[hello.GetLength()+1]; _tcscpy(hello1, hello); Error 1 error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'wchar_t *' d:\projects\c++.net\test3\test3\test3.cpp 20 why thanks. Quintin Immelman and OShah thanks your answers first! Changing CString to char* was not fot calling WinAPIs,but for a programme written by C.I wanted to us ...Show All
SQL Server Basic Reporting Services / Analysis Services report - flattened rowset problem
I am just getting started with Reporting Services 2000 and I need some help PLEASE! My source is MSAS 2000 cube. This whole flattened rowset is confusing me. Insight will be HUGELY appreciated. I have a MSAS hierarchy that looks like this: WORLD -North America ---USA ---Canada ---Mexico -Europe ---UK ---Germany ---etc... I use the following MDX to get my dataset Select [Amount] on Columns, [World].AllMembers on ROWS From Cube I get the following Reporting Services dataset with THREE columns: (nothing) & ...Show All
Visual Studio Team System Project heirarchies in TFS
I want to organize our source tree in TFS. We have a few different products and internal libraries. I would like to organize them in the following way: $/Product X /Development /Main /OffShoot 1 /OffShoot 2 /Released /Ver XX RC /Ver XX Golden /Ver XX Beta $/Product Y ... $/Product Z ... Same for product X and Z. At the Group level of Product X I don't want all the things associated with a product like work items and such. I just want it to be a logical place holder same goes for the Development and Released levels. These are just logical constructs to add order to ...Show All
Visual Basic StreamWriter giving me fits! much background and code ;^)
Let me apologize now for the length of this post…. This has me stumped (not that that’s hard to do). Let me give some background. I am creating a “sweeping” program for my FTP server (local, located in my office) that will use the filesystemwatcher to look for new folders (containing .wav or .dss files) as they are being uploaded and move them to a central location. Two of my major concerns for this app are the slow upload process for some of my clients, and that if the FTP server computer, or the app itself should freeze or be accidentally turned off (or we lose power past my backup’s battery capacity, etc. etc), th ...Show All
SQL Server Conversation Group Question
I'm trying to use Service Broker to relate a set of messages together and was trying to use a related conversation group id. From what I can gather (looking at other threads) I can't use this..... Basically, my ideas was.... I have several tables being updated within a database transaction. These tables will have triggers associated with them which send a message to a SB queue detailing the table that has been affected and the key information. After the database transaction commits, I wanted to retrieve the group of messages in order to identify exactly what happened to the database during the transaction (for business reasons). I don' ...Show All
SQL Server Higher Level Edition Error Message
Hello all, I just installed the June CTP Client Tools on a fresh hard drive (no previous CTPs installed). I am trying to run a package that was written in the April CTP and runs successfully on other computers with the June CTP installed. When I run the package, it fails on an 'Execute Package Task', and I get the error message: "The task cannot run on this edition of Integration Services. It requires a higher level edition." I know the package is okay because it runs on other June CTP computers. Did I miss something in my install Any suggestions Thanks for your time, Jessica ...Show All
Smart Device Development deployment to mobile device
Hi. Sorry, I did not know where to post this exactly Just installed VS.NET 2005 with .NET 2.0. I have a smartphone device (C500/SMT5600) and I cannot seem to deploy the application to it (a simple "hello" app) It fails to connect: All attempts to connect to the deployment target at port 5655 have failed. Addresses attempted: 127.0.0.1. The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Connect to device failed. Now, I can successfull ...Show All
Visual C# Installation - keeps asking for vcssetup.msi when I run Excel
I installed C# Beta 2 from the web. It went fine. I am following some Bob Tabar lessons and all well and good. However when I run Excel I get a dialog box that pops up entitled Visual C# 2005 Express Edition Beta 2 - English The feature you are trying to use is on a network resource that is unavailable Click OK to try again, or enter an alternate path to a folder containing the isntallation package 'vcssetup.msi in the box below Use Source C:\Documents and Settings\myusername\Local Settings\Temp\SIT34737.tmp\ Now, I could not find this, and so what I did was to run installation again - selecting repair. No luck. Then I tried downloading ...Show All
Software Development for Windows Vista Anyone interested in Activities for accessing Lotus Notes back ends/
Starting to play with some WWF activities that read and write Notes/Domino databases using our ADO.NET data driver ( http://www.proposion.com/n2n ). I would be interested in hearing if there is any interest in such a thing, either as sample code or a commercial product. What would you want to see - Query Notes activity - Get new/modified documents activity - Write Notes document activity - Run Notes agent activity - Send native Notes mail activity How would you like to see your existing Notes workflows interface to this new framework Or would you rather ...Show All
Visual Studio 2008 (Pre-release) What causes CommandBinding.CanExecute delegate to be invoked ?
I have a button that executes a command when it's clicked. I have a CommandBinding instance associated to that command, and also methods to: * Allow/disallow execution * Preview execution * Handle execution All 3 are being called. It's obvious when the last 2 will be called but not the first one. Depending on a specific application state, my CanExecute method will return true or false. When the application starts it returns false which makes the button is disabled, as I expected. As the application runs, its state is changed, but the button is still disabled because it didn't call CanExecute to get the new value. What's strange is that when ...Show All
SQL Server Replication Trigger Problem (SQL 2005): Assistance Please
Our company is wanting to replicate a bunch of data down from our central server to tablet PC's. We really do not have anyone on staff with solid experience in replication, and have hit an error that we cannot seem to find any information whatsoever on. Here is the problem: When setting up a publication to replicate certain tables, we stop being able to do any updates on the tables. After some research, we were able to narrow the problem into the msrepl triggers the publication places on the table. In the update trigger of the table, the following line is being placed by SQL Server: execute sp_mapdown_bitmap 0x0000000040, @bm output ...Show All
Visual Basic get ip address using vb.net in aspx page
I tried the asp.net forum, the link is broken. I need a little help collecting the host ip using vb in an aspx page. I tried adding Imports System.Net at the top of the page. The error returned was DNS not declared. Here is what I had; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta name="GENERATOR" content="Microsoft Visual Studio .Net 7.1"> <meta name="vs_targetSchema" contenet="http://schemas.microsoft.com/intellisence/ie5"> </head> <body> <% Dim MyHostName as String = DNS.GetHostName() Dim MyHostEntry as IPHostEntr ...Show All
SQL Server DTS in SQL Server Express
Does anyone know if DTS exists in SQL Server Express Thank you, Adamus Thank you Euan, I can use DTS packages and convert them to vb.net...however some of the code doesn't convert properly, but I can recode it. Thank you, Adamus ...Show All
Visual Studio Tools for Office What Kind of things can I do with VSTO?
Hello Experts. I am currently on a new proyect, this project must show some reports to the users, preferibly in PDF or WORD documents, I told my boss to use reporting services because its easy to draw reports there but the new sql server will cost 6000 dollars the version that includes reporting services so I need to know if the thinks I do with reporting services can be done in Vsto. Draw Tables, Put colors for Indicators, Put Images programatically. Receive Parameters What does need the customer when installed on their IIS Do I need to distribute the WORD documents to ALL THE PEOPLE or it can be done easily a ...Show All
SQL Server Is this possible???
Hello, Is it possible to have a lable and text boxes right on the top of a parameter Just like this. Last: week month 90 days year So that when a user clicks one of the link, the value in the parameter will be changed accordingly. Sincerely, Amde hey Bob, I am clear that I have to add textboxes with drillthrough actions. But here is the thing: I have given a requirement to design the report layout and create the report. the report should look like this when previewed: Last: week month 90 days year From: 4/25/2006 To: 5/2/2006 So for last wee ...Show All
