milex's Q&A profile
Visual Studio Express Editions Visual Basic Express Edition E-book
Where in the registration portal is the link to download the e-book for the Visual Basic Express edition. Can anyone please help me. I am a beginner. Any ideas or recommendations woud help. Hello I just wanted to ask Can the e-book be redistributed as said by the EULA I never read that EULA... Email me knvb1123@gmail.com Keehun Nam ...Show All
Windows Forms Accessing objects(controls) across threads...
I am working on a MDI application. On clicking a one of the MDI menu item, a series of modal dialog-boxes need to be shown, where the value returned by a dialog box is used in the successive dialog-boxes. Also, all dialog boxes are childen of the main MDI form. I dont want the dialog boxes to block the working of the rest of the application. The only way to have their independent execution (while showing them with the ShowDialog() function) is to show them in a separate thread. Now the problem is that the dialogs are children of the MDI form & so ned to have their MDIParent or Owner property set. But as they are in a separate thread, trying to assign MDI form as their parent generated an exception, 'Cannot access objects across ...Show All
Visual FoxPro How to: UPDATE into Visual Foxpro Database in Numeric format from VS2005
Hi everyone... Please help me to solve this problem.... I Have deadline on Friday Im having problem on updating and inserting data in visual Foxpro in numeric format using the Visual Studio 2005... Anyone that can help me please... --------------------------------------- T_T newbie in Programming Well, since my crystal ball appears to be broken and I cannot see your code, or know what you are trying to do, or anything other than that you have SOME sort of problem, I don't quite know what sort of answer you expect to get. First, tell us what you are trying to do Second, tell us what is happening, and what you think should happen Third, show the code you are using If y ...Show All
Visual Studio How to prevent SourceSafe login dialog from prompting up?
I am using MS SourceSafe through MSSCCI to handle file version control and I am new to this area. Follow the document, I call the functions in this sequence : 1 SccInitialize 2 SccOpenProject 3 Other functions 4 SccUnintialize Everything works fine only the annoying VSS login dialog prompts up when I call SccOpenProject. I know I can use SCC_OP_SILENTOPEN but my call will fail with return code 2 ( operation cancelled ) if my user id has password. I can't find any SCC function that expects a userid/password, so really don't know how to let SourceSafe know my userid/password. Can anybody tell me how I can login to VSS silently without the need to input userid/password in a VSS login dialog Thanks, Zheng ...Show All
Windows Forms CryptUIDlgSelectCertificate function
Hi, I need to use the function "CryptUIDlgSelectCertificate" in my application. I am new to security in .NET. Can someone please advise me as to how I can use it my application, a short example. I need to authenticate the client at the start of the application(which is obvious). The application is a windows application. All help is very much appreciated. Thanks! ...Show All
Software Development for Windows Vista how to restart workflow runtime after IIS restart
My question is for workflow exposed as web service through webserviceinputactivty/webserviceoutputactivity. My impression is that workflow runtime is only started after the first web service call. My test workflow has 3 activities: webserviceinput, webserviceoutput, delay. SqlPersistence service is enabled. The workflow is activitied through a web call. When executing the delay activity, it's persisted to the database. Then I shut down the web server (ASP .NET development server). When the web server restarted, the timer already expired but the workflow was not resumed. Only after I made another call to the web service, the timer fired. I did an experiment in a winform application. When the application starts next time, the timer fir ...Show All
Software Development for Windows Vista Documentation error __uuidof ?
The online MSDN documentation says to use CoCreateInstance with __uuidof(BootOptions), __uuidof(DiscFormat2Data), __uuidof(DiscRecorder2), etc. to create instances of the corresponding interfaces. Shouldn't these be prefixed with Msft, for example __uuidof(MsftDiscRecorder2) Checking the IDL I believe __uuidof(BootOptions) is correct but __uuidof(DiscFormat2Data) and __uuidof(DiscRecorder2) should be __uuidof(MsftDiscFormat2Data) and __uuidof(MsftDiscRecorder2) indeed. ...Show All
Windows Forms Problem with "attachevent" method --- Webbrowser.
All, I want to attach some events to the document of a webpage using mshtml. My code fragment somewhat looks like below: public delegate void alert (mshtml. IHTMLEventObj obj); public void print(mshtml. IHTMLEventObj obj) { //Print something; } alert p; p = new alert (print); IHTMLDocument3 doc = ( IHTMLDocument3 )exp.Document; bool result = doc.attachEvent( "onclick" , p); <--- Invalid Cast Exception. I want to execute the function Print() upon "onclick" event on the document. So, Im passing the delegate as second argument. But, the attach window accepts some "object" type variable. I try casting it to Object, then also it wont work. Where I am doing ...Show All
.NET Development Program built with .Net 2.0 needs to run a computer with .Net 1.1
Good Morning, I've written a program using VB in Visual Studio 2005. It is designed to access and modify the Assistant and Assistant Telephone fields in a User Object in Active Directory. On my developer workstation it works flawlessly, but I have .Net 2.0 installed as part of the Visual Sudio 2005. When I try to install the product on our Helpdesk Tech Machines, it attempts to install .Net 2.0. The environment in which our Helpdesk personel work maintain a strict "standard workstation" mentality and will not allow the .Net 2.0 software to be installed; they do currently have ver. 1.1. I am using the System.DirectoryServices namespace to access Active Directory and write the information back to the object, which appears ...Show All
Visual C++ Multimedia API MPU-401 Reset Problem
I have used the Win32 Multimedia API for many years for MIDI programming and have always returned to it despite the supposed charms of DirectX etc. However so far as I know there is no way to force a MIDI hardware device reset using the API. Does anyone have a workaround for this - I used to do it very simply in 8086 assembler by sending FF to the MPU-401 command port 330H. Thanks for any help. Please direct this question to the multimedia newsgroup. This forum deals with the VS 2005 GUI and libraries, including configuration issues, and not the use of the libraries as such. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.mmedia&lang=en&cr=US ...Show All
SQL Server Different Types of Calculations
Hi, there, We have a rather complicated case here. Our current solution relies heavily on relational database. All the calculations have been done in T-SQL. FYI, previously, users had been using Excel spreadsheets. Calculations in the spreadsheets (Excel formulas) have been implemented in the relational using T-SQL. OLAP cubes are built on top of the relational. This also means that the OLAP cubes we have are taking the results from the relational. We think the better way to implement this solution is to use Analysis Services. But, we have some concerns over the calculations that Analysis Services can do. As mentioned before, we have built all the calculations in the Excel spreadsheets in T-SQL. We have been using the relational way of ...Show All
Visual Studio Team System Schema compare not working between local db and project
I am able to compare my database project with anything other than my local db (the db created by a "build"). When I attempt to compare with the local db, no differences are found, even if I have modified the local db. To reproduce: 1) Import data from DB #1 into Database Project. 2) Build database project. This will create Database #2 locally. 3) For Database #2, modify a table (add a column to it). 4) Run Schema compare and compare Database #2 with the database project. 5) It shows no differences. 6) Now do steps 3 and 4 but use Database #1. 7) It will show the differences. What am I doing wrong All of this steps from the fact that I do not want to hand edit scripts to modify tables. I want to use the GUI. Therefore I need to r ...Show All
Visual Studio Express Editions External Exception Error Unhandled...Generic error in GDI
Hey, all...back to the well. The code below the following error message cycles through the alphabet, displaying the letters from a starting point outward, in increasing sizes. It works well if I just do one character while debugging. The problem is when I cycle through the alphabet string, I get the error in the subject block, with: System.Runtime.InteropServices.ExternalException was unhandled ErrorCode=-2147467259 Message="A generic error occurred in GDI+." Source="System.Drawing" StackTrace: at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, ...Show All
Windows Forms Combobox not displaying data correctly
I am trying to get a text file to become a combo box's Items. The text file has multiple lines and when the combo box reads it it puts it all in one line. I don't know how to get the combo box to display the text file on multiple lines You mean each line in the text file should be displayed as a single item in the combobox Try this: string [] lines = File .ReadAllLines(filename); comboBox1.Items.AddRange(lines); Andrej ...Show All
Visual C# Keeping a logfile
I am new to C#. I want to know what is the best way to keep a log of what you do in an application The log will be a file of some sort which can be added to but not updated. There should be an easy way of reading from the file. Nope, not at all. Here's my app.config file: < xml version = " 1.0 " > < configuration > < configSections > < section name = " log4net " type = " System.Configuration.IgnoreSectionHandler " /> </ configSections > < log4net > < appender name = "Application1 " type = " log4net.Appender.RollingFileAppender " > < file va ...Show All
