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

Software Development Network >> Paul Burg's Q&A profile

Paul Burg

Member List

Tomys
ParthP
Rajnesh
sarasotamac
overthetop
INTPnerd
nrajudandu
smk_k
llhrestrepo
omron
kenniejaydavis
Adi Kremer
Mu0n
Idanle
Roman T
Shrek.NET
Charltonn
Salvatore Di Fazio
George2
Espen Ruud Schultz
Only Title

Paul Burg's Q&A profile

  • Visual C# native types

    Hello. I created a simple dll which export a single, simple, unmanaged class using C++ and VS2005. The class contains only simple data types (int and float). I compiled this class with /clr flag. Now I want to use this class in a C# application. After I added a reference to this dll in C# application I'm able to instantiate an object of this type but I can't call any method of this class. (Error: the class dose not contain any definition for methodName). Using ObjectBrowser I can see all methods of this class. I written a simple managed wraper class, and this works. There is any way to work around without writing a wraper class I'm wonder way I can instatiate the class but I can't call its methods. Thank you. ...Show All

  • Visual Studio Tools for Office CommandBarButton Click event is not raised

    Hi, I have several buttons in a toolbar in an Outlook Addin. All buttons are members of the class (The instance of the class), so the garbae collector does not collect them, and they are kept referenced. When clicking them, they work fine. The problem is when the toolbar is wider than the window, so some buttons are hidden. When i click the button, it does not raise the event, but only replaces it with a button that is not hidden. When clicking it again (after unhiding it) it raises the event. Any help Adrian Looks like I may have spoken to soon on this one, because it looks like you are correct, in that once the button is selected, it also performs the action (both in Word ...Show All

  • SQL Server How to suppress the subreport when there is no data in it?

    Since there is no way to pass value from subreport to the main report, how to suppress the subreport when it is blank Thanks. Hi Robert: Basically I'm testing SSRS 2005 compared to our current report design/production in Crystal Reports XI. One of the features of CR that we use extensively is subreports. When a particular section of a CR report does not have relevant subreport data to display, we dynamically hide the main report section that hosts the subreport so as not to display any info that is in the same main report section but not in the subreport. I've found a thread that appears similar in nature to my situation: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=423404&SiteID ...Show All

  • Visual Basic Beginner: VB & SQL

    Hello, I just started to learn Visual Basic 2005.NET. I have experience with VBA in Access and SQL Server. I now want to build applications (client/server) with VB & SQL Server. Does anyone have a simple example with which I can start learning Thank you in advance! just to add, if you only need to get values of 1 column to populate into a combobox, then you may need to use a SqlDataReader as it is more effecient than using a DataAdapter and filling a dataset, and is fast, since it is a forward only reader. ...Show All

  • Visual Studio Express Editions System.Net.WebClient help

    I am trying to make my app download a driver from an https site. The only problem is the web page (Ati's driver web page), doesn't let you get the file unless you click the link from their web page. Somehow it knows. Is their any workaround to this   poseyJ, Sometimes, the website only allows the registed user to download the files. If it is the case, I suggest you to write the registed user id and password in your native cookie program, then try to download the file directly. However, when you input the URL+Filename, the file can be downloaded normally. This kind of website doesn't need to register. Please pay more attention to the target files in differenct websites. ...Show All

  • Visual C++ DLLMain defined in .obj file?

    Does anyone know if when you use the wizard to create a dll in visual c++, it puts the definition of DLL_Main in the Project_Name.obj file I get an error when I add in a definition of it in the cpp file, saying its already defined in the obj file. It's not in the cpp file when I first create the workspace. In fact yes. I'm not much of a VB user (be it VB6 or VBA or VB.NET) but as far as I know in VB6 and VBA Integer is 16 bit, not 32 like in VB.NET so I was wrong in the other thread. You need to use Long on the VB part, not Integer. On the C/C++ you can use long or int, it does not matter because both are 32 bit in size. So in the end the VB part shoud look like this: Private Declare Function summer Lib "D:\Projects\Tests ...Show All

  • Visual C# how to prevent Editing reference types from out side my class?

    hi, i just want to understand this, its recomended to use properties as wrapper for class members to control editing or to check the value or what ever, actualy thats good but with reference types i found this is almost useless for example i wrote this class to demonstrate my point if i have a list of strings , and the property is ReadOnly but i still can edit the list, yes i can't change it but i can edit it using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { test tst = new test (); Console .WriteLine( "before Adding\n\n" ); foreach ( string s in tst.Items) { Console .Write ...Show All

  • .NET Development how to calculate remaining time when downloading a file

    Can any one give me a code in C#.Net to above question. hi i m developing an application for downloading a file from internet,so i want code in c#,for to find remaining time and download a file from internet. See WebClient class in MSDN, See its function DownloadFileAsync and hook an handler to ProgressChanged event and calculate the estimated remaining time based on % completed in how much time, how much bytes have been transfered in how much time. So now you can do some estimation on what may be the remaining time. See MSDN for more help on WebClient class under System.Net namespace. I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Windows Forms App Requirement

    hi I want my application to work under windows xp, windows xp sp1, windows xp sp2 and windows vista can anyone help me plz. I build my application using visual basic 2005 in my machine windows xp sp2 then I try to install it on another computer in my work but it say that I must update to service pack 2 ...Show All

  • SharePoint Products and Technologies PassThrough authentication fails: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    I've tried it with every AuthenticationMode! But no one seems to work correctly in my case. I thought that PassThrough should work with a preset User ID and password. This would be enough for the moment, but even this doesn't work!! With WindowsCredentials I get the following error: The Property with name 'SsoApplicationId' is missing on the LobSystemInstance. SsoApplicationId I tried to set this with the SharePoint SSO but I've no such services. How can I set this just for the current WindowsCredentials (of the current Sharepoint user) With RevertToSelf I get the following error: "An error occurred while retrieving data from MyLOBInstance. Administrators, see the server log for more information." The server log contained ...Show All

  • Visual C++ when are warnings generated when using uninit'ed variables

    I expected to see a warning for: for ( unsigned int i; i < 10; i++) I had Level 3 warnings set. When I set to level 4, I get: warning C4701: potentially uninitialized local variable 'i' used Curious as to why no warning was generated at level 3 and why it is only "potentially uninitialized". Sometimes I see the warnings at level 3, but I am not sure why some cases it generates a warning and others it does not. ...Show All

  • Visual Studio Express Editions Inserted Data is not appearing in the dataset or updating the DB

    I am using Visual Studios 2005 (VB.Net) with an SQL Server 2005 Backend. My backend has all it's tables and relationships set up. I am trying to add information from the form. The first bit I'm trying to get working is just adding 'Titles' to a very simple table. TitleID | TitleDescription The code I have is: Me.TblTitlesTableAdapter.InsertQuery(Guid.NewGuid, "Sir") Me.TblTitlesTableAdapter.Update(Me.Nytdb.tblTitles) Me.Nytdb.AcceptChanges() I have also tried using Me.Nytdb.tblTitles.AcceptChanges(). This is the first time I have done an SQL Server 2005 Backended Application, so it's a bit of a steep learning curve. I am using a datagridview on this form as well to display customer details and on the add ...Show All

  • Visual Studio Express Editions VB/asp projects

    Heya all- just wanted to find out bout express edtion- ive got a vb/asp application in vb.net 2003 editon- however i want to tranfer it on to express editon as there seems to be some errors working with VB.net 2003- but when on trying to open the file- in the express editon- it comes up with error such as no web component not installed and unable to convert project- any suggestions please thanks well it is meant for the web, but express isnt used for asp and vb.net development then can you use visual web developer express with asp and vb.net then- and are there any issues with importing my application from VB.net2003 thankx ...Show All

  • .NET Development how can we access remote desktop using c# coding

    hai i am a new .net developer. i have to connect a remote desktop using c# coding. can any one help me. Is it possible to supply username and password through the C# code to log automatically to the remote computer Code Block Process rdcProcess = new Process (); string executable = Environment .ExpandEnvironmentVariables( @"%SystemRoot%\system32\mstsc.exe" ); if (executable != null ) { rdcProcess.StartInfo.FileName = executable; rdcProcess.StartInfo.Arguments = "/v " + "111.111.111.111" ; // ip or name of computer to connect rdcProcess.Start(); } Uri Kartoun ...Show All

  • Visual Studio Tools for Office VSTO Tools Add In, Outlook 2003

    Hi, we created an Add In using VSTO Tools for Outlook 2003. We have a problem when Outlook 2003 is running and another application has it as well, and we close Outlook, it still runs in memory but when we open Outlook, our Add In disappears. Is there any event or something we can do to make the Add In shown always Thanks! If you still have Outlook loaded in the background (for whatever reason) and you click the 'Outlook' button, Outlook is not actually started... A new explorer is created. So if outlook is running in the background already, you will not his the addin loader (because it already ran on the outlook application that is running). You need to handle the events for new explorer and ...Show All

©2008 Software Development Network