Jerome Le Bateau's Q&A profile
Visual C++ Help with db_command
Hello all, I am just starting to learn Visual C++ using a Microsft Visual Studio walkthrough, but I have syntax errors in the following code: HRESULT hr = S_OK; TCHAR szAuthor[80]; CMyProjectSet &dbset = GetDocument()->m_MyProjectSet; [db_command(name="cmd", source_name="dbset", hresult=hr) { SELECT au_lname ([bindto]szAuthor) FROM AUTHORS }]; while(cmd.MoveNext() = ...Show All
Windows Forms Win Form & ASP.NET
Hi, I have a question: how can I, if it's possible, add a winform to an asp.net page Hi greath78, you are missing something. You should write "http:Test.dll#Test.Test". eg. <object id="MyTestCtl" classid="http:MyCustomControl.dll#MyCustomControl.MyCtl" height=& ...Show All
Visual Studio 2008 (Pre-release) Client application authentication?
I realize that .Net 2.0 does not provide client application authentication and was wondering if WCF/Indigo addresses this issue in any way Thanks, Ray Manning Sounds pretty trivial , just use the assembly names as users. Use custom Token as you security and say proxy.UserName = assembly.Name proxy.Password = something excrypted on the client which the server know. Or part of the assembly si ...Show All
Smart Device Development Copy protection?
Hello guys, I was thinking of some ways how to protect my .net cf application from pirates, but I could not figure out something very useful. I think the obvious way to do it is to use keys. The customer will buy the application and you will send him the key generated for his Owner name for example. My application will check if it is OK and then it runs. But the potential cracker could just disassemble this app and create a keygen or people can ...Show All
SQL Server Sql Server 2000 connection problem
Hi all... I'm getting some problem while am connecting to my Sql Server 2000. I have design an application in vb.net and using remoting (Tcp Channel). But while connecting to the server am getting "your server is not confiured to allow remote access" can anyone help, thanks.... You have to run the surface area configuration wizard (Under SQL Server 2005->Configuration Tools on your start menu by default) and ...Show All
Visual FoxPro Enhancement Request: Ability to pass cursors as parameters
The ability to pass a cursor to a method of an object belonging to another data session would be a great addition for a future versions of VFP. Today, we have to resort to arrays, which is kind of a kludge, or CursorToXML/XMLToCursor, which is way too slow for large data sets. If cursor could be passed between data sessions, n-tier apps would benefit greatly. Any thoughts Eyvind. Craig Berntson wrote: ...Show All
Visual C# Copy folder
Hi, I need to copy folder. In vb6 I had fso. C# nada. anyone Yep. Been there. I build static method, and put it in a general assembly (together with my DateDiff method and more). ...Show All
.NET Development Reflection and Plugins
Hi, I am starting out creating an app that I would like to dynamically load dlls that would be developed, plugins. I am using the C++.NET framework. My question is, Is Relection the way to do this I have been searching for examples in C++.NET but most seem to be in C# or VB.NET. Can any point me in the best direction Examples Relection Thanks Jeff I got this code from a fiew source on the net. http://div ...Show All
Visual Basic Reading
In my program when i open a program of my choice the filepath appears in a textbox, a button then reads whats in the textbox and executes the program, so thats fine, but i also want the filepath to then save I was thinkin the the filepath gets saved into a .txt and then the textbox reads the first line every time i boot the program up, any help would be appreciated Hi, I did a copy/paste mistake when copying code from Visual Studio t ...Show All
Software Development for Windows Vista Find activity during Design Time
I have to custom activities of which one is dependent upon the other, similar to the WebServiceInput/WebServiceOutput constellation. During Runtime I retrieve the first activity by name: FirstActivity first = executionContext.Activity.GetActivityByName( this .firstActivity) as FirstActivity ; which works fine. Now I would like to add a little bit more convenience to the design of these activities: The second activity has a propert ...Show All
SQL Server Many questions about internationalization options
In RS 2000, I have a version of a set of reports (50+) that are in English and formatted for US letter size. I need to have all of these also in French in A4. What is the best way to do this Can I use resource files If so, for the formatting size as well as the language How would I do that If I can't use resource files, are there any other ideas than a set of separate rdl files Is this any different in RS 2005 ...Show All
Visual Studio Team System MSBUILD with Unit Tests
I have a build type that is working just fine. I updated it by setting the RunTest key to true and now my builds are failing. The log contains the following that seems to be applicable. MSBUILD : warning : Please specify the results file to publish using the /PublishResultsFile switch, or specify tests to run to have those results published. I have added the following to the TFSBuild.rsp file /PublishResultsFile:"C:\Temp\BuildResul ...Show All
Smart Device Development looking for playing video stream
hi.. can i know how to playing a video in pocket pc stream or local i have search this topic but cannot find any answer. Chris Lorton wrote: Odeyssey software ( http://www.odysseysoftware.com/ ) has a product, CFCOM which they demo with an interface to media player. This is one possibility. If you want to roll your own, you'll need to create a shim DLL which you can p/invoke from managed code which will interace wi ...Show All
Visual Basic zoom in/zoom out
To Preview Report on Screen I had Draw Text in Picture Box. Now How I can Increase or Reduce Size of Picture Box when user click Zoom Button simultaneously it should redraw all content of picture box. If you are using 05 the picturebox control has a sizemode property... setting it to zoom will zoom the pic in and out by resizing the pic box...much simpler ...Show All
Smart Device Development Reactivating Form
I'm developing an application with several forms and an interface to an external device that uses a callback. The callback is a public subroutine and is set up when the application starts. When the callback gets data I would like to have it put it in a field on the currently active form. The problem I can't seem to get around is that when the callback executes the form becomes inactive and I can't update any controls on it. I can make event proc ...Show All
