Peter Lillevold's Q&A profile
Visual Basic adding local html files to winforms control at runtime to read with browser.
I would like to add the code to the for loop below which will dynamically add "1 to n" html files found in the current directory and add them to the appropriate vb.net control as a hyperlink, which the user can then click on to launch the html file into a browser window. (using Process.Start most likely) what would those controls be and how would I add these files at runtime I found out the webbrowser control didn't work because it only reads html and doesn't allow for hyperlink (html anchor) functionality. Thanks for any ideas. For Each filePath In IO.Directory.GetFiles(Environment.CurrentDirectory, "*.html" , IO.SearchOption.AllDirectories) 'add to approprate control at runtime ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Guides in XNA
Hi there, I've been playing around with the framework and I have a little question for any MSFTies who can answer. On the Windows side of things, if we want to call up any useful built in functions of Windows like say the common dialog box colour picker (for say, a player's car paint job) or a MessageBox (you've reached the end of the demo!), we can still do so by calling in to the Windows.Forms namespace. On the Xbox 360 side though, any such UI we would have to recoded manually. However, as we all know, there are certain built in elements of UI on the 360 too in the form of the various Xbox Guide slide out panels. Currently, access to one of these does exist in XNA (The save Location guide for letting the user choose a Memor ...Show All
.NET Development How to use System.Net.Mail.SmtpClient via SSL and Authentication?
Below is my code, and is just blocked there. There is no any error message. '=============================================> Dim msg As String = "---" Try Dim strAddress As String = " xxx@xxxx.com " Dim sm As New SmtpClient(Host, Port) With sm .EnableSsl = True & ...Show All
Visual Studio Visual studio 2005 and windows vista buisness edition
I have windows vista buisness edition, visual studio pro 2005 and when I'm trying to create new web application I get error: front page extensions are not installed..., I activated windows authentication and I'm running vs2005pro as administrator, but the error still ocurrs. I know, that here have already been topic about this, but this solution doesn't work for me ;/ Well, the only reason I can think of why you would get this error is if you try to create a project on a remote server that does not have the Frontpage Server Extensions installed. As far as I know you can not install the FSE on Vista and you do not even need it when you are creating web sites locally. ...Show All
Visual C# How do I make both a server and client TCPIP socket
How do I make both a server and client TCPIP socket. I used to do this all the time in VB6 using winsock. How do I do the same thing in C#. Works similarily in .NET. The Socket class can be used to send and receive data through TCP/IP. Create an instance of the Socket class for the address you want to monitor. Use Listen on the server side to begin listening for requests. When a request comes in use Accept to accept the request. You should consider accepting and processing accept requests on a secondary thread to avoid having the server stall while you process each request. This can be done by accepting the request and then passing it along to a secondary thread that deals with the request. On th ...Show All
Visual C# copying a windows folder structure to sql server
Has any one coded some thing that copies a windows root folder structure to sql server Thanks a lot I i want to upload that structure to a sharepoint site. I m not sure yet if that s possible in sharepoint if someone familiar with sharepoint pls help Thanks ...Show All
Smart Device Development Where we can download SDK ?
I need to download the .NET Compact Framework 1.0.5 or 2.0 SDK, although the installer of VS2005 install the SDK .NET Framework 2.0, some of my component (third party) said that the .NET Compact Framework not installed. Can anyone tell me where I can download those framework (1.0.5 and 2.0). Thanks, Ariston. Well it because I want to test chartfx component that I download trial, it said that I must put the ChartFX.CF.Designer.dll into folder <VS.NET install dir>\CompactFrameworkSDK\v1.0.5000\Windows CE\Designer but I cant find it on VS2005 install folder. So that why I said need Compact Framework SDK 1.0.5, but if there alternate way for Compact Framework 2, can anyone tell me because when I a ...Show All
Visual C# MouseEnter Event
i want to change the status bar's text, when the mouse comes over the button.. and i use MouseEnter event for this..and my code is like this.. private void button1_Click(object sender, EventArgs e) { this.MouseEnter+=new EventHandler(Form3_MouseEnter); } void Form3_MouseEnter(object sender, EventArgs e) { toolStripStatusLabel1.Text = "Hello"; } what is wrong with this code Sqnyy wrote: i want to change the status bar's text, when the mouse comes over the button.. and i use MouseEnter event for this..and my code is like this.. private void button1_Click(object sender, EventArgs e) { this.MouseEnter+=new EventHandler(Form3_MouseEnter); } void Form3_MouseEnt ...Show All
Visual Studio Team System Cloaking then uncloaking folders regenerates all changesets?
Here's how I created the scenario: Initially no folders were cloaked and I ran a few successful TeamBuilds. I cloaked a few folders and ran my TeamBuild project successfully. I then uncloaked these folders again. When I did that ALL the changesets from the time of the migration from VSS were listed in the build. I'm testing a build script so this wouldn't be happening in production but this still seems like wierd behaviour... ...Show All
Visual C++ SmartBridge Alerts
I am receiving this: The Procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library PSAPI.DLL. I do not have any experience, could I get help to find this "file" This is a duplicate thread. Xavier, I replied to your same question here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=407038&SiteID=1 Locking. ...Show All
Windows Forms DataGridView Scrollbar bug
If you have columns which extend beyond the DataGridView window, the horizontal scrollbar is never displayed. The vertical scrollbar displays, but the horizontal bar never displays. I've tried with the scrollbar settings set multiple ways. Is this something I'm doing or is this a known defect Jeff i've had the problem with both vertical and horizontal bars. finally i fixed both for vertical scrollbars adding items from another thread caused the problem so simply before starting the thread i added: dataGridView.Add(1000); for horizontal scrollbars simply set the minimum width of the column to a width bigger than the form width. ...Show All
SQL Server Is SSIS (SQL Server Integration Services) a new product or just the upgrade version of DTS?
Hi, all, I am having a question about SSIS. Is it a totally new product in SQL Server 2005 or it is a upgrade version of previous version DTS Thanks a lot for any guidance for that. With best regards, Yours sincerely, It is the successor to (or replacement for) DTS, but it is not an upgrade. There is no code from DTS that made it into SSIS. Therefore yes, it is a totally new product. -Jamie ...Show All
Windows Live Developer Forums How to manage MSN Messenger from a client
Hi all, I'm new here in the forum and I'm searching for a solution for controling MSN Messenger from a client I'll develope. I want to be able to control the Voice Chat that the messenger can provide and let users talk through the messanger voice chat but without them knowing of it. Is there any way to control the MSN messenger login and voice chat conversation I didn't find a way to do it in the activity SDK. Thanks, Netanel. ...Show All
SQL Server Sliced [Customer].[Location Tree].[All] is not matching the sum of sliced members
This only seems to occur in one area, and unfortunately (or fortunately, meaning it's not a bug) I cannot get anything in adventure works to display the problem. In my cube, if I look at [Customer].[Location Tree].[All], but also say where Customer.[Organization Type].&[School], the sales value of [all] is presenting itself like the organization type slicing wasn't even used. ie: (the total sales from this query is correct in my mind) select [sales] on 0, Customer.Territory. AllMembers on 1 from cube where Customer.[Organization Type].&[School] but the all value out of this query is truly "All".. it doesn't seem to make use of the filtering: select [sales] on 0, [Customer].[Location Tree].[A ...Show All
Visual FoxPro vfp 7 icons
hi all, i want my program have icons ... how i do it coz normally i just use foxpro icons ... and do i have new update for my programs the icons will back to foxpro icons after i replace it thanks, Jeff. Note that for youir program's Windows shortcuts and links you will need to supply icons in both 16x16 and 32x32 sizes to work properly. ...Show All
