Airmail's Q&A profile
Visual Studio Express Editions SetDesktopWallpaper
Hi all, I'm new in windows programming and I would like to know if exist a kind of function in C++ that does the same thing of setDesktopWallpaper as in C# or VB. Thanks all sav SetDesktopWallpaper There's no such function, even in C#/VB (unless you know something I don't). But anyway, check the PSDK help for SystemParametersInfo(SPI_SETDESKTOPWALLPAPER, ...); I suppose you could also look up the value in ...Show All
SQL Server Running an INSERT statement a @variable without using EXEC
The Code-Piece below does not work because @Tablename is not an objekt. ============================================= DECLARE @Tablename varchar ( 256 ) set @Tablename = 'MyTable' insert into @Tablename default values ============================================= How can i make it work without using EXEC Thanks in advance Raimund Ok. It works fine. Thanks. Best ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXSAS
Is DXSAS available for use at this point from managed code (or at least is there a complementation implementation available for native code) or will it be available only with DirectX 10 How can we begin to take advantage of this Dan Moorehead wrote: Is DXSAS available for use at this point from managed code (or at least is there a complementation implementation available for native code) or will it be ava ...Show All
SQL Server Reports run under my credentials, not those stored on report
I've created a report in SSRS 2005 that sources from a SSAS 2000 cube (on another server). In BIDS (running on the SSRS 2005 server) I'm using a shared data source with "generic" credentials to access the data. The generic credentials I'm using is an account that has datareader access. In BIDS the report runs, builds and deploys just fine. No problem so far! My problem has to do with running the report from the Report Server. The on ...Show All
Visual Basic Please wait message while generating word document
Hi, good morning from Spain. Sorry if my english is not very good. I'm working with VB2005 and i'm using the Word Automation to generate a word document. wordApp.Documents.Add(wordPlantilla, newTemplate, docType, isVisible) wordApp.Visible = True wordApp.Activate() But... i need to show a message "Please wait..." until the process is complete. ...Show All
SQL Server Send Muti-Values to Stored Proc?
Hi all, I am not too sure whether someone asked this question before, but I am thinking is there a way to send multi-values (selected from a multi-value parameter) and send it to a stored procedure from a DataSet in reports Anyone have any idea how to go about this please help out. Thanks in advance. Daren If the data source type is "SQL Server" or "Oracle", binding a multi valu ...Show All
Visual C++ LNK2020/LNK1120
NEW TO C++ AND CANNOT GET THRU FIRST PROGRAM-"HELLO WORLD" BECAUSE OF LINKER ERROR MESSAGES AS FOLLOWS: HELLO1 error LNK2020: unresolved token (0A000015) _CxxThrowException HELLO1 error LNK2020: unresolved token (0A000017) delete HELLO1 error LNK2020: unresolved token (0A00001A) strlen HELLO1 error LNK2020: unresolved token (0A00001B) free HELLO1 error LNK2020: unresolved token (0A00001D) memmove HELLO1 error LNK2020: unresolved token (0A000028) ...Show All
Visual Studio 2008 (Pre-release) ComSvcConfig /hosting:complus option
Is it possible to host a WCF service using COM+ and expose a net.tcp endpoint The EnterpriseServices.sln example demonstrates exposure through IIS and http, but I am interested if this sample would be possible through net.tcp. The ComSvcConfig tool documentation indicates a /hosting:complus option, but with this option it is not clear where to define the endpoint for the service. Yes, it is possib ...Show All
Visual Studio Express Editions Flash only works on my laptop
Hi, I'm developing a CD autostart program, and I needed it to look pretty. So I used flash and everything is working fine. But when I use it on any other computer it doesn't work. What can I do Help is most appreciated. I don't see how this is related to C++ and there is very little actual information provided but usually problems like this stem from the fact that you did not redistribute the necessary runtim ...Show All
SQL Server Connecting to SQL Server with a login form.
Hi all, I'm new to VB and VB.net and forms and everything, so please bare with me :) I am constructing an application which is connected to sql server 2000. What I want to do is have the Login form open upon startup then have an option group where the user states if he wants to use NT or SQL Server authentication. . Then I want a combobox which looks up all the current sql servers there are on the network, so that the user choo ...Show All
Visual J# Downloading the visual studio project files for Java Lucene compiled using J#
The Apache Lucene project is a significant free-text-search (FTS) software package. It is a mature piece of software, the major, the mainstream work, over the years has been done in it using the Java language. http://lucene.apache.org/ http://incubator.apache.org/projects/lucene.net.html The 1.9.1 version ships with build support for both the Sun java compiler (javac) and the GNU java compiler (gcj) which compiles directly to native machi ...Show All
Visual C# How do I access the application Form Name?
Please excuse this question. I'm currently learning C# "on my own". My application is an MDI with several child forms and I want to enable/disable the buttons on the active form by calling a method that will accomplish this for each form that calls it. I created a test app and thought I had the solution; however, I am at a stopping point and can not figure out how to solve this. Can someone please show me what I am ...Show All
.NET Development Some thoughts about default parameter for C#
I've been troubled by this problem since I started to use C#. I always try to write classes that are easy to use. When I try to write some methods that takes several parameters, I found it was really troublesome to write different overloads. I had to give up some overloads, because there are just too many combinations, when the parameter list is long. And I thought, why not default parameters Anders Hejlsberg explained in an interfiew that they ...Show All
Visual Studio 2008 (Pre-release) LINQ functionality for C# 2.0 (...and others)
So far I'm encouraged with all the help I've received on this forum, so here is another problem. What is the best way of providing ad-hoc querying capabilities in C# 2.0 (the same techniques might apply to Java 5.0...but I won't mention that here :) ). By ad-hoc I don't mean parsing quries written by end-users, then operating on existing data structures (think a winforms application where a user types in something like SQL on an IEnumerab ...Show All
Windows Live Developer Forums DotMsn Connection Licensing
OK. I'm using DotMsn and C# to connect to MSN network, but 95% of the time, it fail. Currently, I am using the default setting provided DotMsn as my connection parameter -- client id: msmsgs@msnmsgr.com -- Client code: Q1P7W2E4J9R8U3S5 . I believe the connection failures have something to do with the licensing as the official documentation stated that: "Note that officially you must use an obtained license (client id and client code) fr ...Show All
