Guino's Q&A profile
Software Development for Windows Vista workflow designer
Hi All, I wonder whether it is possible to host the workflow designer in my app. I thought it would be cool if I can have the workflow designer as my app's GUI. Thanks, DK Yes you can. I just saw a video with Scott Woodgate & team demonstrating the designer hosted in a winforms application ...Show All
Visual C++ Intrinsic functions
Hello, I started a new Windows Forms application, but i'm not able to insert intrinsic function to manage bits operation. The following example http://msdn2.microsoft.com/en-us/library/wfd9z0bb.aspx says that i must compile with /EHsc. I cannot compile, because /clr and /EHsc are incompatible. Is possible to use intrinsic functions in a clr project like windows forms Sorry for my english, I'm italian... Thank's all Andrea ...Show All
Visual Studio Express Editions unable to write to db (visual basic to SQLServer (2005 Express))
Hi, keywords: vb, visual basic, sql server, 2005, express, write, read, only, readonly, insert, update, delete I'm working through Bob Tabor's excellent VB Tutorial for Absolute Beginners. I hit a snag on Lesson09. I can't write to SQL Server 2005 Express. REF: Absolute Beginner’s Video Series at http://msdn.microsoft.com/vstudio/express/vb/learning/ Using my code, Bob's code or auto created code, I can NOT write to ...Show All
SQL Server Data Mining Query returns ADOMDDataReader
Hello, I created a Market Basket Data Mining Model with Association Rules, which I want to query and show in a Report. Everything works fine, when I preview the result in the Reporting Services Data tab I see some sort of table which I can expand and then see the related products. Unfortunately this result seems to be an ADOMD Datareader which I cannot place in a table, matrix or textfield. If anyone knows how I can make this Informatio ...Show All
SQL Server How to encorporate Date and Time comparison to pull a field
I'm trying to pull this data in my first inner join trying to pull the rmsbalance based on the latest date/time combination but not having any luck with my syntax because sql is throwing errors due to my syntax below and I can't figure how how to do the check on the date and time combo: SELECT rf . RMSTRANCDE , rm . rmsacctnum , ...Show All
.NET Development .NET COM and Remoting
Hi. I handle a serious problem with remote connection from my Agent( writen on c#) module that is actually registerd as COM object and loaded by Executable that writen on C++, .NET Agent and Executable reside in different folders. I receive following Exception from my remote server: "Return argument has an Invalid type". Module Detailed explanation: 1) HostClient.exe - Executable for My .NET COM Agent(MyAgent.dll) . Simple c ...Show All
Visual Basic I need help fast!!!
OK....I have been plinking with VS2005 for about a week..... I have a very extensive app I wrote in VB5 then 6 so now I am transferring it to VS2005. Things going great until I did the following..... 1 form....11 panels.......MANY controls throughout the panels. I also have three toolstrips. I decide to cut some controls from one panel into another..... The code no longer worked for them so I figure ok....hmmmm......I noticed when ...Show All
SQL Server Query to another database
Dear all, I have views in database that select records from a table in another database in the same server. Can I set security in such a way for not to give direct access to the table. I know than it is possible if a table and views are in the same database and have the same owner, but I failed to get the same for different databases. Thanks. The following thread includes an example of how to ...Show All
Windows Forms Hosting ClickOne deployment on non-.NET 2.0 server
Hi, I have a ClickOnce app that I wanted to deploy on a .NET 1.1 server. I set up the MIME type in IIS for .application files to be application/x-ms-application, but it still serves up XML when I browse to it and try to run. I tested hosting it on a .NET 2 server and it does launch the .application file. What other things do I need to do to the server to make it properly serve up the ClickOnce app Thanks! ...Show All
Software Development for Windows Vista database connectivity problem of Emulator in .NET 2003 & 2005
I'm running Visual Studio 2005 on a Windows Xp. My app uses a web service that runs on the IIS Web Server of Xp. The web server works fine for desktop apps but when I try to request the WSDL of the web service from within the pocket internet explorer the device emulator can't connect to the host OS's web server. My guess is that the reason for this is that I can't get the virtual network driver working on Xp. I have installed the virtual network ...Show All
Windows Forms Media Player Look & Feel?
I've just seen some screenshots for the new version of Microsoft Money and it has the look & feel of Media Player. I know that Avalon (and XAML) will make it possible to create apps that look this way, but is there any (reasonable)&nbs ...Show All
Visual Basic SmtpClient vs SmtpMail
Hi all, When i try to send an email via this little code snippet, everything works: System.Web.Mail.SmtpMail.SmtpServer.Insert(0, "mailhost.medialaan.vmma.be") System.Web.Mail.SmtpMail.Send(" somebody@company.com ", "noone@company.com ", "test", "test") Because the SmtpMail became obsolete, i try the new System.Net class as follows : Dim myMail As System.Net.Mail.MailMessage Dim client As New SmtpClient() client.Host = "mail. ...Show All
SQL Server How Does one Save a Stored Procedure
In Microsoft SQL Server Management Studio Express you can right click on "Stored Procedures" under a database in the object explorer and the resulting Context Menu offers a selection called "New Stored Procedure". If you select "New Stored Procedure", a Stored Procedure Template Document is added for editing. It has the suffix ".sql"; I can save this document to the file system after I edit it, but I cannot f ...Show All
Visual Studio Tools for Office Getting document name in addin
Hi All, I'm creating a Word Addin. There is some code that is to be executed only for some dpecific doucments while the rest of the code is to executed for all the documents. hence I need to know the name of the document that is opened. object oName = applicationObject.GetType().InvokeMember("Name", BindingFlags.GetProperty, null, applicationObject, null); I tried the above but it gives me the name of the application (like MS Ex ...Show All
Smart Device Development How to Display Modal Dialog?
Basically, I have a fairly straightforward question. How to display a modal dialog form and then return to the calling form. Most of my experience to date is with VB6 and I'm probably just going about this the wrong way. I'm using the following code to display a Help|About dialog from a menu click. Fairly standard. private void mnuAbout_Click( object sender, EventArgs e) { frmAbout frm = new frmAbout(); frm.Sh ...Show All
