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

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

CFIG

Member List

INTPnerd
bw12117
Duncan McC
MagicM
Jazza23
SarasMax
NeedSomeAnswers
master20
SQLServer2050
Clinton Chau
Sukh1983
Emadkb
bruce027721
Goonie
Magoo
sl0140
DTHMTLGOD
F.Sor
CoreStar2000
JuKiM
Only Title

CFIG's Q&A profile

  • Visual Studio Express Editions How to debug DLL?

    Hi, I have a dll written in C++ (6.0 MFC). The functions of this dll is called by an application I just started in C# 2005 Express edition. I read about how to call a dll in C#, but my problem is the reverse situation. I need to debug the dll to find out if all parameters are passed correctly from C# to the dll functions. But if I set the exe file compiled from the C# to test the dll, it does not even start (it does when I start outside of the C++ debugger). What is wrong and what can I do I would be grateful for any help. Peter Hi Mike, Finally I succeeded with attaching the 2003 debugger to the C# 2005 exe. It is not a perfect solution, and I will try to recode the dll ...Show All

  • SQL Server Bulk Insert with another outstanding result set should be run with XACT_ABORT on

    All, I have an SSIS package which calls several other SSIS packages. The "mother" package has TrasactionOption set to "Supported". There is a sequence container and an imbedded Execute Package Task for each of my embedded packages. Each of the sequence containers has TransactionOption = Required. DTC is running. When I run my mother package I get the following error within the first package executed "Bulk Insert with another outstanding result set should be run with XACT_ABORT on." I've looked high and low for others with this problem, but haven't found any resolution. Can anyone tell me how to resolve this error I have tried using BEGIN TRANSACTION instead of using Required and I turn on XACT_ABORT, bu ...Show All

  • Windows Forms Customize appearance of DesignSurface.View

    Hello, is it possible to customize the appearance of the DesignSurface.View Class I want to see only the control to design and not the background with the border... Regards Hansjorg ...Show All

  • Windows Forms disable text entry in an ultradropdown

    hi, does anyone know how to disable the ultradropdown from accepting typing from a user Thanks. ultradropdown Me . ComboBox1 . DropDownStyle = ComboBoxStyle . DropDownList ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/CPref17/html/T_System_Windows_Forms_ComboBoxStyle.htm Member name Description DropDown The text portion is editable. The user must click the arrow button to display the list portion. This is the default style. DropDownList The user cannot directly edit the text portion. The user must click the arrow button to display the list portion. Simple The text portion is editable. The list portion is always visible. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing colored meshes using own effect

    I want this easy thing to work -- but apparantly it's not that easy for me. I simply want to load a colored mesh from a file, and draw it on my screen using a custom effect. The mesh(es) load just fine in DXViewer, and also no problem when I'm using the BasicEffect to draw the mesh. The mesh is drawn at the correct position/scale, but the colors are wrong. They seem to be random, and sometimes they change during runtime. I've posted the relevant XNA code below. Of course it's incredibly rediculous to put all this code in the Draw method, but it's just to show you all the relevant code together. So here we go: protected override void Draw( GameTime gameTime) { CompiledEffect compiledEffect = Effect .CompileEffectFr ...Show All

  • Visual Basic Accessing registry using VB2005

    Hi, I want to search for the installed software via registry. I don't know what should be exact path where i can locate the installed software in registry or what will be the keys which will help me to search all the installed software on the specific system. Please help me out. Hi, If you go to the registry and open the key below, you will get a list of installed applications. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData I always use the Uninstall information since its structure is easier to read: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Here is an example in how to connect to the registry: http://www.codeproject.com/vb/net/registry_with_vb.asp . Greet ...Show All

  • Visual Studio Tools for Office [Word] COM Addin Refusing To Run.

    Hi everyone. I recently finished developing a Word Addin that contains two panes and two ribbon buttons in a group & tab unique to my application. Upon attempting to deploy the solution, I fail to get the addin running on any other machine but the dev one. Here's the details: 1) my assembly is signed with an SNK dedicated to our project. This shouldn't matter to office, I presume. The setup project is pretty much the default. 2) The registry values added are the default ones generated shifted to the HKLM branch. I have also added registry values for adding a schema to the HKLM\Schema Library key, and another to modify the BrowserFlags of Word documents and Macro-enabled documents to support in-browser behavior. These all se ...Show All

  • Visual Basic My program will not run

    On wednesday night i was working on my program( a visual basic tutorial). I added in a textbox and then went to run my program when it would just show me the source code. I didn't get a compiler error or anything. I checked for duplicate identifiers and found none. I tried to remove this newly added textbox and when i tried to run the program again, it once again sat there just showing me the source code. Any idea what is wrong Im only using one form. Hi, Homefry39, We're going to need some more information here to help you out. What tutorial was it, what code was in there, and also what do mean by it would just show you the source code -- do you mean that it was just showing you the IDE and that y ...Show All

  • .NET Development RPC Server Exception

    System.Management. ManagementScope ms = new System.Management. ManagementScope ( "\\\\" + stringMachineName + "\\root\\cimv2" , co); oq = new System.Management. ObjectQuery ( "SELECT * FROM Win32_processor" ); query = new ManagementObjectSearcher (ms, oq); queryCollection = query.Get(); return queryCollection; well guys i am trying to access remote system but in doing this some machines give mein following exception System.interop.Runtime.COmException RPC SERVER IS unavailable (Exception from Hresult:0x800706BA) can u help me this how to solve this Yes, I have verified that the RPC and WMI services are running on the remote computer. I am also able to pi ...Show All

  • Visual Studio Issues loading Add-Ins

    I get nuts trying to install Visual Studio .NET 2005 add-ins. E.g. I tried to install the VSFileFinder2005 add-in. Now it seems that VS.NET is loading the add-in, Filemon tells me the add-in is being accessed by VS: (Image file: http://magerquark.com/data/misc/vsfilefinder2005-01.png ) But in the options it tells it is broken: (Image file: http://magerquark.com/data/misc/vsfilefinder2005-02.png ) And in the Add-in Manager dialog it doesn't show up at all (only another add-in that is not installed through the xcopy deployment installation way): (Image file: http://magerquark.com/data/misc/vsfilefinder2005-03.png ) Question: Can someone help me solving this Any place to look for debugging (logfiles ) that VS.NE ...Show All

  • .NET Development retrieving last entry

    i have a table ID. so how can i retrieve the ID immediately of the last entry after inserting the data into the table Like if your table is: Table1 Field: IID - identity, not null , int and primary key Name- varchar(50). Then Insert Statement Should be Insert Into Table1 (Name) Values ('LPlate'); SELECT Scope_Identity(); ...Show All

  • Visual Studio Express Editions Exporting datagridview contents into a RTFBox

    Hi Peeps, Can I ask, how to print data from a datagridview Or let's say If I cannot print it directly, how to transfer data into a RTFbox, maintaining a fixed column. Thank you very much in advance There is the complicated way which has been much discussed in these forums OR the new easy way which does not get mentioned here so far and that is to use the new powerpack. The powerpack is avaialble from http://msdn2.microsoft.com/en-us/vbasic/aa701261.aspx ...Show All

  • SQL Server Specified job_id does not exist

    Hi, We have snapshot replication set up on a SQL 2005 box where the publisher is a SQL 2000 box. Replication was running properly for weeks. Because of some application upgrades, we had to remove the publication and subscription and re-apply once the upgrade was done. Replication is still running properly, however when we look at the job history on the subscription, we get an error message: Could not show the Properties window The specified @job_id (.....) does not exist. (Microsoft SQL Server, Error: 14262). I suspect this is referring to the old job but am not sure how to clear this from memory. I can view the job history on the actual job within SQL Agent and the job is running properly, but this error still occurs when I v ...Show All

  • Visual Studio Express Editions Area/Pixels enclosed by points

    Hi All, is there any commmands available in VB to find the area or the number of pixels bounded by a number of points with a base that's a straight line. Shape is close to a concave semi circle. Pls advice Many Thanks and Cheers This is a tricky problem due to the fractional pixels. Here's a sample program that demonstrate how to use the GraphicsPath and Region classes to get an approximation: Imports System.Drawing.Drawing2D Public Class Form1 Dim rects() As RectangleF Dim path As New GraphicsPath Dim radius As Integer = 100 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load path.AddLine(0, 0, 2 * radius, 0) path.AddArc(0, -radius, 2 * radius, 2 * radius, 0, 180) ...Show All

  • SQL Server SQL 2005 Reporting multi-select parameter question

    I am trying to create reports that are similar to ASP.net datagrids and use several parameters of which some are multi-select parameters. I do see how to use multi-select parameters in the reports from SQL 2005, but I would like the values of the multi-select parameters to vary based on who is logged in. For an example we have users who can look at our clients from their location, but I do not want them to be able to select or see clients from other locations even though that should be a parameter. I am not sure if this is best to do as an SQL 2005 report which creates the .rdl file or a Visual Studio project with a report which has the .rdlc file. I think the Visual Studio .rdlc file would allow me to control the connection, SQL quer ...Show All

©2008 Software Development Network