Software Development Network Logo
  • Windows Live
  • Smart Device
  • Visual Studio
  • Game Technologies
  • Microsoft ISV
  • VS Team System
  • Architecture
  • Visual Basic
  • .NET Development
  • SQL Server
  • VS Express Editions
  • Windows Forms
  • Visual C++
  • Windows Vista
  • Visual J#

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

petegh

Member List

madura
connie graham
Cindy Meister
Sri_Prad
blackcatsbones
FLee
Kumar Puran
CoDeR X
Ken.Saraf
Rathna Kumar
Ti-Tim-Timmy
Donald Burr
Will McAfee
Rama kuppa
Jochen Kalmbach -MVP-
agrt
Hugo Flores
Shadi_05
RajMatt
Ricardo_AG
Only Title

petegh's Q&A profile

  • .NET Development System.Type.GetType(string) fails on assembly loaded with Assembly.LoadFrom

    I have the following code: Assembly a = Assembly.LoadFrom("c:\MyAssembly.dll"); Type t = System.Type.GetType("MyAssembly.MyClass, MyAssembly"); For some reason, t is null. On the other hand, if I add a static compile-time reference to MyAssembly, the code succeeds. However, in my situation, the I cannot use a static reference because in general I don't know the assembly at compile-time. Can anyone explain why this doesn't work Any help would be greatly appreciated. Thanks, Jon You must use the fully qualified name of the assembly when using System.Type.GetType. It's a lot easier when ...Show All

  • Smart Device Development Emulator Errors

    Hello guys, hope you're all doing fine these days. i have 2 errors while attemptng to run my PPC 2003 SE emulator 1st) Error: No VPC network adapters enumerated or no host network adapter with provided MAC address found (eventhough it detects my networks cards, and 10 days ago it was working fine but since then i dunno what happened and it suddanly stopped working, i get the same with WM 5.0 emulator and i have re-installed netsvwrap.msi) 2nd) im getting this new error : the emulator couldn't start possibly because of incorrect startup parameters how to fix these errors (i have uninstalled the emulator and reinstalled it again ...Show All

  • Windows Forms Image ListView Control

    Hi everybody I'm looking for a control that can display a bunch of images. Just like the Windows Explorer when you're browsing in a folder that contains images. Creating the thumbnails is not the problem, just displaying the images in a ListView. Anybody knows a control that can do this Thx Jan You need to create an ImageList and load your thumbnails into it. Set the LargeImageList and/or SmalImageList property of the ListView to your ImageList. Then create ListViewItems with the caption text and the index of the thumbnail in the image list. ...Show All

  • Visual FoxPro small test on transaction atomicity

    Need help with small test on table in database with transaction. Could somebody show state of table after execution this code: CLOSE ALL CLOSE DATABASES OPEN DATABASE "c:\ path to database\data1.dbc" SHARED BEGIN TRANSACTION UPDATE data1! table 1 SET name = 'BBBB BBBB BBBB BBBB BBBB' = Messagebox ('END TRANSACTION') END TRANSACTION if in table1 before execution was 500K records with value "AAAA" and VFP process was killed after click OK in messagebox and before all trasaction bufers was stored in dbf file (2-3 seconds after click OK) I interested in "select count(*), name from dat ...Show All

  • Visual Basic passing a dimensioned array values as argument to a procedure

    I have difficulty in passing the contents of entire array variable as an argument to a procedure. Main Program; DIM x(100) As Single Call SubProgram(x()) SubProgram(ByVal x() As Single) End Sub Hi, I am taking a quantum leap from QB to VB.NET 2005 I get a wavy error message under () of X as "No of indices is less than the number of dimensions of the indexed array" . Any suggestion All you need to do is take the parentheses off, so it should look like this: Sub Main() Dim x(100) as Single Call SubProgram(x) End Sub Sub SubProgram(ByVal x as ...Show All

  • Visual C# Recording Voice Messages from skype

    Hi Does anybody have an idea of how to go about recording a Voice Message and then saving it to an mp3 or wav format.. Any help would be great, even links to sites which have relevant information. Thanx a lot :) I would have a look at the Skype Starter kit as it allows you to program and have fun with the Skype systems... http://msdn.microsoft.com/vstudio/express/visualcsharp/starterkit/default.aspx#skype ...Show All

  • SQL Server Errors in the high-level relational engine

    Hi members, could some help me and explain why i am getting this kind of error. My cube executes successfully with errors. Thanx Ronald Errors in the high-level relational engine. The data source view does not contain a definition for the 'dbo_Prescription' table or view. The Source property may not have been set. See my reply to your previous post. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual C# how to get line on form

    How can i get a line on my form like the one i have seen on installers usually at the bottom of each form for example the one on the visio installer screen where you choose the type of installation. There are several of these lines there and there is one above the help back next and cancel buttons which creates like a kind of partition. How can i create this one my form. any help is appreciated. You could override the Paint event on the form and then use e.Graphics.DrawLine( pen, pt, pb ); and it will draw a line from point "pt" to point "pb" using the specified pen "pen&quo ...Show All

  • Visual C++ How VS 2005 decides to build a project

    I have a project that keeps building even if it completes successfully in VS 2005. Is there a way to determine what is causing this build to kick off instead of it saying up to date No we are using the VS IDE. However this has seemed to work itself out with a complete delete and rebuild of our source tree. ...Show All

  • SQL Server Data driven Subscription

    is there any way to read the values for userid and password from a database dynamically while creating a data driven subscription i have a huge list of reports written out to a shared folder once daily. These are then moved to appropriate fodlers with a file moving program. Instead of typing the userid and password manually on the subscriptions creation page, can we read it from a database. I am able to read all other parameters but these two. any help is appreciated. thanx in advance. hi, maybe this http://www.sqlservercentral.com/columnists/jselburg/datadrivensubscriptions.asp could be a proper workaround cheers, markus ...Show All

  • Visual C++ msvcr80.dll Problem

    Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simpl ...Show All

  • Windows Forms OFFICIAL SURVEY about your usage of the .NET Framework documentation!

    Hello -   I'm conducting an official survey about your usage of the .NET Framework documentation. In particular, what programming languages do you filter on. Your answers will be used to help improve the documentation viewing experience. When reading the survey, remember that the concept of filtering on a programming language is talking about viewing the documentation wit ...Show All

  • Visual Studio HELP with Context menu !!!

    I am trying to add a new item to the Data Source Context Menu using this code: command = _applicationObject.Commands.AddNamedCommand(_addInInstance, "SolnExplContextMenuVB" , "My VB Command" , "Executes My command 1" , True , 59, Nothing , CType (vsCommandStatus.vsCommandStatusSupported, Integer ) + CType (vsCommandStatus.vsCommandStatusEnabled, Integer )) Dim menuBarCommandBar As CommandBar = commandBars.Item( "MenuBar" ) Dim toolsControl As CommandBarControl = menuBarCommandBar.Controls.Item( "Data &Source View" ) Dim toolsPopup As CommandBarPopup = ...Show All

  • .NET Development Object does not match target type

    Hi, I am creating an application where it has to show all the properties of the selected control in propertygrid at runtiem which is done. now i wanted to add my own custum properties to the existing properties. so that my properties will also be displayed in the propertygrid control. for that I created a new property using typedescriptor.createproperty method and added it to the properties collection. now My property got displayed in the propertygrid with an error saying that "Object does not match target type" how could i resolve this thanks I hope this is of help- http://www.sturmnet.org/blog/archives/2005/0 ...Show All

  • SQL Server Can't debug Script tasks

    After upgrading to CTP16 (Sept.), I can't seem to debug my script tasks. Everytime I run the package with a breakpoint in script task I get following error: "SQL Server Integration Services Script Task has encountered a problem and needs to close. We are sorry for the inconvenience. " If I remove the breakpoint the scrip task runs successfully. So my question is how do I debug a script task with CTP 16 I have tried setting the precompile to false and it does break. However, it's not consistant. I guess CTP16 still has debugger issues hope they fix it in sql 2005 rel. ...Show All

©2008 Software Development Network