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

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

RichBar

Member List

djmikke
Barham
RMB775
Boulderdude
schalti
Skapol
Jackslu
abhishek_6023
Suneel VLN
BillWang
KJohnson530
Annihil8
Jay K
B_W
Sourabh Khatri
nick5454
Madhu Gandhi
barkingdog
Robet
Eric Lin
Only Title

RichBar's Q&A profile

  • Visual Basic my first DLL: Class is visible but not Functions

    I'm learning how to write a DLL in VB Express 2005. It compiles fine: Public Class Common Public Function FourTimes( ByVal x As Long ) As Long FourTimes = x * 4 End Function Public Sub SayHello() MsgBox( "Hello from Pearl4.dll" ) End Sub End Class Then I create a TLB library file, which also appears to work fine: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe C:\Windows\System32\Pearl4.dll /tlb I want to access the functions in VBA, so in Access I added a Reference to the TLB, and now I can see the class named Common, but neither of the two procedures. How do I make them visible Thanks for your help. Henry You'll need to either c ...Show All

  • Visual Studio 2008 (Pre-release) Linq WMI Implementation? Custom Implementations?

    Anyone know of any work around a Linq WMI implementation I know that it *can* be done - just wondering if it *is* being worked on by anyone Also, does anyone have any pointers if i wanted to write/prototype an implementation myself Say i wanted to write something that worked against ADAM, where should i start many thanks, Steven http://stevenR2.com Hi, Emile Bosch is working on the "LINQ to WMI" provider. You can find more information here: http://bloggingabout.net/blogs/emile/archive/2005/12/12/10514.aspx If you want to implement your own provider, you'll have to work with expression trees. You need to be able to traverse expression tree which you can get from the query and tran ...Show All

  • SQL Server SQL Server agent fails the job while executing the package

    H! Very critical!!!! some body help.. I am execute paakge correctly from my local machine through Agent and Command line. but when i try to execute in another server it fails. I am invoking and executing as an administrator. when i run through the command prompt or as an individual pacakge in file system it works fine. I am exceuting the package with Protection level Don'tSaveAsSensitive. I also want to know a way to fine out what the error is exactly.not just the View History. If i set the logging for the package where do i view them Thanks, Jas ...Show All

  • SharePoint Products and Technologies Help pls: Problem adding custom Field type in create column in a list settings

    Error: Field type PhoneNumber is not installed properly. Go to the list settings page to delete this field Hi I create an ascx with its cs code behind, i copy the ascx to D:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES then i create this xml that I copy to D:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML (the file is bellow in the post). After I create my cs file with all the methods. I build my project, then copy the dll file to the d:/windows/assembly. But when I try to add the column to my list i get the error . Field type PhoneNumber is not installed properly. Go to the list settings page to delete this field Here is the xml ...Show All

  • Visual C# compile incompatibility: "/mt" and "clr"

    I am trying to write a C++ wrapper for my Csharp code -- essentially to go from "unmanaged" to "managed" code. I used some samples on the internet as a basis but have hit some issues when compiling in Release mode v. Debug mode.... It works fine in Debug mode ! It fails in Release mode : " D8016 " /clr and /mt are incompatible (etc.) I am using VS2005 and it seems like some things have changed with respect to the "clr" compile switch. It's frustrating because it works when compiled in debug mode. I have tried everything to resolve the compatibility issue, but it seems like VS2005 just overrides the options at run time and forces "/mt" on me (even though I change it to "/md&q ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compile error C4430

    I am writting C++ Form Application using Visual .net 2005. I tried to use Direct3d to draw some simple 3d polygons, but i always got the following errors: Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h 787 I include the following files: #include " d3dx9.h" #include "D3d9.h" Direct X version in my machine is: Microsoft DirectX SDK (February 2006). Dont know if anyone can help me out of this. I've been struggling in this for several days. thanks! JackyLi, How large is your code Could you post it or provide a link for us to s ...Show All

  • Visual Studio .NET 2005 cannot find Source Control Provider

    We have problems integrating .NET 2005 and ClearCase 2003.06.15. We have installed IBM's Rational ClearCase client for VS .NET ( http://www-1.ibm.com/support/docview.wss rs=984&context=SSSH27&q1=.NET+2005&uid=swg24010813&loc=en_US&cs=utf-8&lang=en ) as well. We get the following error when we open our .vcproj file from .NET 2005 "the Source Control provider associated with this solution could not be found. The projects will be treated as not under source control" "Do you want to permanently remove the source control bindings from the projects " Our .vcproj file has the following string in it: SccProvider="MSSCCI:ClearCase" We have .NET 2003 installed on ...Show All

  • Visual Basic VB2005 Upgrade, or not?

    Hello, I am not sure if this is the right place to ask this question, but I couldn't find anything more fitting. I am considering getting the Visual Studio 2005 IDE, but I have a reservation. I currently have VS2003, and have heard that the .NET 1.1 framework is falling by the wayside, so to speak. I have used the trial version of VS2005, and like it very much. However, I have heard that VS 9.0 will come out soon, and I don't want to have to upgrade again in a year or two. So, I guess my question is, is VS2005 going to be viable long enough to make it worth the purchase Is Microsoft making the higher level languages like Visual Basic "disposable", in other words, changing every few years Please, don't take me as being an ...Show All

  • Visual C# How to access the PropertyInfo of Generic List collection using Reflection ?

    Hi, I have some class objects like public class Order { public DateTime OrderDate { get { return this .m_tOrderDate; } set { this .m_tOrderDate = value ; } } public List < OrderDetail > OrderDetailList { get { return this .m_arlDetail; } set { this .m_arlDetail = value ; } } I can access the property like order date using System.Reflection. PropertyInfo [] Properties = t.Data.GetType().GetProperties(); foreach ( PropertyInfo p in Properties) { Console.Writeline(p.GetValue(t.Data, null ).ToString()); } public class OrderDetail { // Properties here } However, I cannot access the objects like OrderDetail using the above code... What I need is I like to ...Show All

  • Visual Basic HOW TO: Loop Through a DataGrid and send it to a TextFile.txt-.NET 2.0

    How do I Loop Through a DataGrid subform and send it to a TextFile.txt Im trying the example given, and is given me this error Unable to cast object of type 'System.Windows.Forms.DataGridView' to type 'System.Collections.IEnumerable'. but shouldn't the datagridView already be a collection, if not how do i go about making it into one. here is my code: Dim lDataGridView1 As Object = Me .DataGridView1 For Each currentrow As DataGridViewRow In lDataGridView1 For Each currentcolumn As DataGridViewColumn In lDataGridView1 objfile.WriteLine(currentrow.Cells(currentcolumn.Name).Value.ToString() + "," ) Next Next objfile.Close() ...Show All

  • Visual Studio Express Editions invalid exception " "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."

    Hi all i have a project in vb.net some times at run time this message appear InvalidOperationException was unhandled {"Invoke or BeginInvoke cannot be called on a control until the window handle has been created."} i don't know why and i didn't find any logic when it's appear because when i run my project some time its appear and some time it doesn't appear. i read alot of articals all of them talk about thread and UI but i didn't use thread in my project , i used alot of select statments, insert and update to the data base , for loops , show forms and show dialogs . please how can i fix this problems and how can i know where is the problem. this is the details of the exception System.InvalidOperationE ...Show All

  • Visual Studio Guidance Automation Extensions and Toolkit: June 2006 Release

    The patterns & practices team is please to announce the availability of the June 2006 CTP of the Guidance Automation Extensions (GAX) and Guidance Automation Toolkit (GAT) ! As reported previously , this is a relatively minor update to the previous December 2005 CTP which includes some important bug fixes and usability improvements. For more details on this release, please read the announcement on my blog . Enjoy! Tom Hollander Product Manager Microsoft patterns & practices I try now to make a setup file (register fails) to install de package and fails with this error: Package configuration file c:\programa files\......\WCFTooling.xml doesn’t existe. WCFTooling is the name of the hol b ...Show All

  • Windows Forms UserControl doesn't update

    I found that if you modify a user control constructor then a usercontrol used before this modification won't be affected by those modification. Here what i did: 1.I create a new windows form project. 2.In this project I create a second windows form project where i add a user control. The second project is built before the first project. 3.In the first project toolbox i add an item from the second project debug "exe" folder (to add the usercontrol i have just created) 4.I add the new usercontrol to the windows form of the first project On execution evething works fine 5.I modify the usercontrol constructer .Now It backColor is Wheat and almost half transparent public processusButton() { InitializeComponent(); t ...Show All

  • Windows Forms NotifyIcon and fileSystemWatcher issue

    Greetings, I am writing a fairly simple app that uses a NotifyIcon and a FileSystemWatcher. The idea behind this is to alert users who share a resource to that resource's status. We have about 15 users who utilize this resource but only one can use it at a time. I want to use the NotifyIcon to display the status of the resource (in use or available). A user selects an option from the NotifyIcon menu (logging in or logging out) which updates a central xml file. The FileSystemMonitor monitors the xml file for changes and triggers an update to occure for each NotifyIcon running changing the Icon image and popping up an message bubble to the user. The problem: This all works as expected of only 1-4 instances are monitoring the XML file. But if ...Show All

  • Commerce Server Site Unpacking Error Creating URL?

    Hi, I am having a problem when unpacking a site. When it's packed, it packs each of the 4 webservices and the site itself.. When unpacking, it successfully does everything except at the very end it says: An error occurred when attempting to create the URL for the following IIS application: ResearchStore 46:Permission denied This is the application itself.. so if I go into Commerce Server Manager, under applications, I see the 4 web services and NO application, whereas on my dev machine where I packaged it there are 5, including the application itself. I am unpacking the site as a local admin on the target machine..and in IIS I see that the site WAS created as a VD under the Default Web Site, so does anyone know what permissions I ...Show All

©2008 Software Development Network