Johan Ahlen's Q&A profile
Microsoft ISV Community Center Forums Email from MS Excel
With thanks to another poster I've managed to get the code below opening and sending an email from MS Excel. The only problem I'm having is I want the value from a particular cell in a worksheet to appear in the message body. This value is actually a formula and will change as the source worksheet changes hence it will differ each time an email is sent i.e. the value at time of sending will convey the message I require. My unsuccessful att ...Show All
Visual FoxPro Images in editbox(like smilies etc.)
Hi I want to ask if someone know how to display images in editbox, or if it is able to display images in editbox Or do I need a spacial control which this allows If yes please recommend me one and give me a link please on this control. Thanks Editbox doesn't support images. You might try RTF activex instead (or maybe DHTML control). ...Show All
Visual Basic What's the diff: Directory. VS. My.Computer.FileSystem
What's the difference between using Directory.<member> and My.Computer.FileSystem.<member> My.Computer.FileSystem contains extra methods for copying, moving and deleting files/directories that can make use of the Windows Shell dialogs, which the System.IO.Directory class does not. ...Show All
Visual Studio Error: "Project Factory is unable to create an instance of ......" when using VS2005 release
Hi, I have opened a report project and developed reports (rdl) in VS2005 beta. Since VS2005 release is ready, I upgraded the beta version to the release version. However, when I open the report project in the release VS2005, it prompts the message: Project Factory is unable to create an instance of: Microsoft.ReportDesigner.Project.ReportProjectManager, Microsoft.ReportingServices.Designer, Version=9.0.242.0, Culture=neutral, PublicK ...Show All
Windows Forms Update DataGrid
hi, i hope i am in the right place to ask question. i using VB.net n SQL and my question is: i able to fill my datagrid with my table.. but it seems i got trouble updating a new entry, or when i want to delete a entry; becau ...Show All
Windows Forms Refresh TreeView and Remember expanded state
I'd like to know what strategies are used for this scenario. I have a treeview that is loaded dynamically. Only the root node is created whne the control is first displayed. Each child node is loaded dynamically during the Expand event ...Show All
Windows Forms Single Instance application - First instance crashes when second instance launched
There is one thread discussing this issue already (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=175755&SiteID=1) but it ends with an incomplete workaround and doesn't identify a cause or solution. The problem is with using the VB application SingleInstance property. On some machines for some reason this causes crashes in the existing instance when a subsequent instances are launched. See the second part of the follownig article for ...Show All
Windows Forms Query/Databinding question
This is a 2 part question as it were so i will start with my query question. I am trying to make a generic query. My query on my table adapter is: SELECT MIN( ) FROM Client WHERE = AND = I ended up changing the WHERE clause so that it would be: WHERE ClientID = AND Status = This cleared up a few errors. I am now having a problem with the Select clause. It will work if i put an actual column instead of a in. It will not accept the passed parame ...Show All
Visual FoxPro Visual Foxpro Book Recommendations?
All, Can anyone recommend a good book for learning VFP 6.0 from scratch I've looked at SPECIAL ADDITION USING VISUAL FOXPRO 6 but it's not really helping me so far. All I am trying to do is create a simple .exe that will read amd update some records from a .dbf and insert those records into a MS SQL table. All the books on Amazon have gotten terrible reviews and MSDN has little to no info on doing thi ...Show All
Visual C# hooking other applications messages Challenge
Hi Hi i want to know when user changed the foreground Window .. So i want soemthing like a callback.. that will call me when windows is about to send a message to application that she now has focus.. Any ideea Any function to interop with or.. Please help guys! btw.. not threads allowed . You can use the GetForegroundWindow to get the handle of the window wich the user is currently working in. If you check this with an interval, you ca ...Show All
Visual C# Having troubles with Randomness
I am new to these boards so not sure if I should post code snippets or how you guys handle things. Basically the issue can easily be seen here: http://www.thecodeproject.com/csharp/CsharpMersenneTwister.asp If you don't have an account there you can just download the binary called the demo. When you run this simple dice program you can see that it always has the same results. Do so by running it, memorizing the number of rolls for each ...Show All
Visual C++ Welcome Screen
Hi, i'm sort of new at programming in C++ so if you don't mind try not to get frustrated with me. I need to know how to make a welcome screen sort of thing where like when you boot the application it shows you a big picture and says at the bottom something like "loading preferences" and then switches really fast to like "loading images" you know that sort of thing. If you could help me out then I would greatly appreciate it. gu ...Show All
Visual Studio display subreport data in a status box
We have a Crystal Reports application in a Windows Form. We are using the Crystal Reports in VS 2005. The user wants to be able to click on a row in the report and see additional data related to that row in a status bar on the form. A subreport was our first choice, but the user wants the data to come up in a status box instead. Is there some way to detect the user click on a row so that we can get the additional data for ...Show All
Visual C# ASP login to c#/aspx login
newbie in aspx obvious. i would like to know how to setup a web page which has login form; username and password i can't access the textbox values and i can't setup a action in a button. my approach is asp. for those asp coders i know u get my point... ty see Login Class (System.Web.UI.WebControls) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DIrectX April 2006 ERROR
Ok, I installed the April 2006 version of DirectX. Then I downloaded a sample tutorial from the Sample browser. The project compiled correctly without any errors, but then when I executed the project it said: "Cannot start because d3d10.dll was not found" Why is this happening I believe I followed the correct means of installation. Just on a side note, I was running this in VS 2005. I believe VS 2005 came with the platform SDK ...Show All
