Software Development Network Logo
  • Visual FoxPro
  • Visual C#
  • IE Development
  • Smart Devicet
  • SQL Server
  • Visual Basic
  • SharePoint Products
  • .NET Development
  • Visual Studio
  • Microsoft ISV
  • Windows Forms
  • Game Technologies
  • Audio and Video
  • VS Team System
  • Visual C++

Software Development Network >> vhmau's Q&A profile

vhmau

Member List

Dan F. Jansson
Luke Yang
XImplosionX
Jordan Terrell
IMBack
SKK*
Kyle McK
NBaig
Job Lot
Baris ERGUN
William Lowers
bernb
Randy Nnixon
Heng-yi Liu
DarkFire2
Qiuwei
fscarpa58
pencil
cwest
madshi
Only Title

vhmau's Q&A profile

  • Windows Forms Unable to cast COM object of type 'System.__ComObject' to class type...???

    I get the error below when I call many of the HTML... components, such as mshtml.HTMLAnchorElementClass or mshtml.HTMLDivElementClass. for example: foreach (mshtml.HTMLAnchorElementClass aAnch in aItems) When I do that the program dies immediately. and this error below is posted: Unable to cast COM object of type 'System.__ComObject' to class type 'mshtml.HTMLAnchorElementClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface. ...Show All

  • Visual Studio Team System question about downloading visual studio

    i have the express editions but i decide to download the visual studio i want to download visual studio but i found that there's alot of versions or types to it ... like Visual Studio 2005 Team Suite 180-Day Trial or Visual Studio 2005 Professional Edition 90-Day Trial so plz till me if there's abig differ from the two becoz i found that there's 1 giga differ from Team Suite comparint to Professional and till me what is the best to download Team Suite Or Professional and i found that the extension of the file that i will download from microsoft is .img ... can i burn this file by nero image burner and if i can't burn it .. can you till me how can i have an iso file Hi, I wil ...Show All

  • Visual Studio Express Editions crash: clr20r3 system.invalidoperationexception

    Hello! I've got some trouble running my application on other computers. On my own it works fine (no errors while Debug or Build/Publish) but if I install it on other computers (with .NET Framework 2.0 installed on them, but no Visual Studio) it crashes after the splash screen and gives the following error: EventType : clr20r3 P1 : winlab.exe P2 : 1.0.0.0 P3 : 44ce7687 P4 : winlab P5 : 1.0.0.0 P6 : 44ce7687 P7 : d P8 : c6 P9 : system. invalidoperationexceptio n My application uses a 3rd party user control (I dont't have the source code), I think it might cause the crash, but I'm not quite sure. Can anyone help me with this Thanks! is it an ActiveX control (COM) If so, ...Show All

  • SQL Server Dynamic columns

    Hi, In my report i want to display dynamic columns.For displaying what are columns available to user,Iam displaying the columns names in one multivalued parameter.For example in my report i have Date,CaseId,Age,State as columns,and multivalued parameter name is "Columns". I wrote a custom function i.e ShowParameterValues(...) returns String s.If we select the Date and CaseID from the columns then s contain value:Date CaseID Public Function ShowParameterValues(ByVal parameter as Parameter) as string Dim s as String For i as integer = 0 to parameter.Count-1 s =s+ CStr(parameter.Value(i)) Next Return s End Function Now i want to show those two columns only.How to acheve this. Thanks in advance ...Show All

  • .NET Development Compression of SOAP message in web service

    I'm trying to get the SOAP messages from my web service compressed to reduce the data size when send to the client. Most examples I found are using external GZip libraries, but of course from .NET 2 it is possible to use GZipStream. This is what I have so far: [ AttributeUsage ( AttributeTargets .Method)] public class CompressionSoapExtensionAttribute : SoapExtensionAttribute { private int priority; public override Type ExtensionType { get { return typeof ( CompressionSoapExtension ); } } public override int Priority { get { return priority; } set { priority = value ; } } } public class CompressionSoapExtension : SoapExtension { Stream oldStream; Stream newStream; ...Show All

  • Windows Forms Modal Dialog Box focus problems and Painting Problems

    I have written a Windows Forms application using C++ (.NET 2.0). I have encountered two problems I believe are related. The first occurs sometimes when I open a modal "dialog box", in the form of a MessageBox.Show, FileDialog or custom form using ShowDialog. The dialog box does not appear on top of my application, it is hidden and thus gives the illusion that my application has frozen (The Z-Order is not first). The second is that after displaying these dialog boxes (When they do show up on top), the controls under them do not repaint themselves, leaving "ghost" images of the dialog box that was just closed. I have found several threads on this forums posted by others who have encountered the same, or similar, problems, ...Show All

  • Visual Studio Express Editions Saving Information

    Hello, I a making a program that will be opened once a day probably and some information will be imputed. How can I save the informaition to be used at a later date. I basically need to use something that is like a variable accept that the variable will be saved and after the program is closed and opened again it can be used. thanks Average Joe there are a good few topics about this. It depends how you want to save the information. You can save it into a database, a text file or perhaps an Xml file - the call is yours. It really depends what type of information is to be saved and who is going to be accessing it. When the program closes, simply save the data you want either when the us ...Show All

  • Visual C# SqlCommand is undefined value

    I am trying to connect to my Sql Server 2k5 but it tells me that cmd has an <undefined value> when its executing any reason this could be.....Is there anything missing from my code i didnt think it was but just trying to see if i can get a lil help. thanks string connection = System.Configuration.ConfigurationSettings.AppSettings["connstring"]; SqlConnection cn = new SqlConnection(connection); string quu = "SELECT * FROM Class"; cn.Open(); SqlCommand cmd = new SqlCommand(quu,cn); SqlDataReader dr; dr = cmd.ExecuteReader(); while (dr.Read()) { Console.WriteLine(dr.GetValue(0).ToString()); Console.WriteLine(dr.GetValue(1).ToString()); Console.W ...Show All

  • Windows Forms Including non referenced dll in ClickOnce deployment

    I'm deploying an applikation using ClickOnce I need to include a dll from another project in the solution. This dll is not directly referenced in the project I'm trying to deploy, but is added as a Project dependency. This dll is not getting bublished alongside the rest of the project files and references. How do I get the ClickOnce deployment to include this dll file -- sparrez From Visual Studio I decided not to sign ClickOnce apps, but in MageUI I created a signing key file and added that to the manifests, both the .manistest and the .application files I'll see if there is a difference -- Sparre ...Show All

  • SharePoint Products and Technologies Changing Access Request Message-V2

    How can I change the Access Request for a Site message in Windows SharePoint Services v2 I'd like to add who it going to and change the default Windows NT ID to the Users Name. TIA Dean ...Show All

  • SQL Server why I cant set the matrix's row height with 0

    HI everyone set two matrixs as one matrix I want to hide the second matrix's column header I hidden the textbox, but the Height is exists I want to set the row height with 0cm, but I can't to do this the row height has a min height, 0.07937cm how can i set row height with 0cm I want to hidden the column header. and set the header height with 0 cm total 1 **** **** **** row1 **** **** **** row2 **** **** **** row2row2 **** **** **** row2row2 **** **** **** row2row2 **** **** **** the header total2 **** **** **** ...Show All

  • Visual Studio Team System Extending Team Portal to have calendar...

    Hello, I'd like to try to extend a team portal to add a Calendar to the portal.  I thought there would be some type of Web part that did this i.e. mycalendar.  To my dismay I have not found that or any other web part that I could use.  My question is: Is there a calendar available for the Team Portals   If so, where can I find this calendar Thanks a million in advance. BJHop FYI we are using Conchango's Scrum for TFS process template. Okay, Here is how I fixed it On your application tier server with WSS, you can edit the following file: %Program Files%\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\SCRUM\XML\ONET.XML The problem is that a number of <ListTempla ...Show All

  • Smart Device Development Low memory error. (critical component)

    Hello, i got problem when i run multiple background application with my main application how i overcome that problem. it prompt like this "Cannot start Cat. A critical component is either missing or failing due to low memory." this prompt occur randomly no specific timings is there any mistake in the code or why this error occur at random interval. sometime not occur but some time its frequency increases to much. BOOL CatApp::IsProcessRunning( char * pname) { char * szExeFile = new char [MAX_PATH]; PROCESSENTRY32 proc; proc.dwSize = sizeof (PROCESSENTRY32); HANDLE lTlhlpHndl; lTlhlpHndl = CreateToolhelp32Snapshot(TH32CS_SNAPALL,0); if (INVALID_HANDLE_VALUE != lTlhlpHndl) { ...Show All

  • Windows Search Technologies Does WDS update last access times of files that it scans and indexes?

    I'm beta testing a new utility (UltimateDefrag) that requires accurate last access time stamps in order to place the most frequently accessed files on the outer tracks of the hard drive for improved performance. I'm wondering if WDS updates the last access time stamps when it scans and indexes If so, is there a way to disable this without affecting the indexing and search capabilies of WDS Hello all, WDS should not be updating the last-accessed time of files that it indexes. There are, however, some other programs out there that do this (virus scanners are a prime example). Are you sure that the problem you are seeing is caused by WDS or could it be other applications Paul Nystrom - MSFT ...Show All

  • Visual Studio PLK wait time

    I have requested for a PLK yesterday. I was wondering if anyone here can tell me as to how much time it takes to get the keys Thanks, Kushal. That's my experience also - about 24 - 36 hours. I just received emails for every PLK I defined, so they may have just implemented sending emails when the key is generated. This was not the case previously. ...Show All

©2008 Software Development Network