bonskijr's Q&A profile
Visual Basic Protecting Class Library DLL's?
I originally posted this on VBForums.com, but haven't received any replies yet, so I thought I'd try here. Anyway, the project I'm currently working on is getting quite large and we are looking at breaking a few components of the software off into manageable class libraries (i.e. DLL's). I've been experimenting with it over the past few days and the problem I'm finding is that the DDL's are insecure. What I mean by this, is that when we distrib ...Show All
SQL Server sql express on server 2003 and vb6 program
I have a vb6 program running fine on a domain on SBS 2003 with the backend connected to sql express. I have added a third computer to the domain and I am unable to run the program on the third computer. I am almost certain that it is not a user, login, or role issue. I would appreciate ideas on how to localize this problem. Thank you Thank you for the response above. I have worked hours on this issue and I have found a simple solution ...Show All
Windows Forms step bye step in filling a datagridview
Ok i am new to c#+MS Sql so dont expect much.. I have a datagridview how can i fill the datagridview on the form loading with all the data contained in my table from may database please specifie also: how to connect to a database with c#.. the connection string some other settings.. Also a good tutorial would be good.. What you want to do is pretty easy and can be done without writing any code at all! I am going to assume you are using ...Show All
Visual C# Changing the Browsable attribute dynamically??
What I want to do is set the browsable attribute (component model) of a property programmatically depending on some conditions. The reason for this is because I want to display an object in a propertygrid control sometimes with and sometimes without the property. I tried to override the browsable attribute, but don't know where to override it. I'll appreciate any help. Thanks in advance. What are the condition's and when do you know them, ...Show All
Visual C# double buffering flicker
correct me if i am wrog! double buffering works like this you create a bitmap in th memory modify or make chaages and after that draw the bitmap its like doing the dirty work behind and then copy it to a fresh workspace You indeed, here is a simple double buffer helper class: public class GraphicsBuffer { private Graphics grapics; private Graphics buffer; private Bitmap buffer ...Show All
.NET Development Execution af dotnet exe from fileserver without framework
Hi all Could someone please explain to me, why this doesn't work: I have a client app, that executes a dotnet exe, which is started from its location on a file server that does not have the dotnet framework installed. The client has the framework installed, and if the exe is started from a folder on the client's own disks it works fine, but when started from the file server (that doesn't have the framework installed), it doesn't work. Why ...Show All
Windows Forms Changing DataGridViewButtonColumn's Button Text Per Row
I have an unbound DataGridViewButtonColumn and I want to change the text on each button after the user performs an action. How do I change the button text in one row without affecting every row Thanks, KMB You just access the cell and set the value: dataGridView1[10,10].Value = " new button text"; -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio Team System Disconnected modified files
The biggest reasons we are not switching over from VSS to VSTFD have to do with working on files is disconnected mode, sluggish performance and multiple file comparisions. Perhaps you can address some of our issues 1. If I am disconnected from the source control and I have modified project files or deleted project files (and probably added files) team foundation does not find these file changes. Moveover, a "get latest version" beli ...Show All
Software Development for Windows Vista msdtc service on WinXP Starter
I am not sure if this question has been asked before. I have a WinXP starter machine in Spanish. I wanted to confirm if the msdtc service is supported in starter edition. Also if supported how can I Start/Stop this services. I cannot see this one in Services.msc. Thanks, Kushal. Hi Kushal, It is very possible that Starter Edition doesn't have this service. What happens if you do a "net start msdtc&quo ...Show All
Visual Basic How do I use VB to connect to a database in VS2005?
I heard that data access gets a lot easier with Visual Basic 2005. Can someone show me a quick code sample illustarating this so I get an idea what's better I am also looking how to bind form object data into an Access query. So the ability to put a variable (form object) into the query. The following is pseudo code as I know you can't access the object variable within a query as I am attempting to here. Code S ...Show All
.NET Development Is it possible to install Win App without .net Framework?
Hi Folk I have created a Win .net Application and when I try to install it, it asks me to install the .net Framework first!! Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!!!!! This is a big disaster, if I will need to install a 20 MB to make a 200 kb application Works! I need to run my application without the .net Framework! Any ideas please Thanks Actually, there ...Show All
Visual Studio Package Load Failure with VSIP Extras package
I have a VSIP package which simples extends a few of the menus in VS and shows a custom add references dialog when these menu items are selected. I have tested the installation of this package (repeatedly) this on 3 separate physical machines and in 2 VPCs with no errors at all. However, a few of my clients are reporting that a Package Load Failure for my package during the installation. This happens when the installer runs 'devenv /setup'. ...Show All
Smart Device Development Playing system sounds in a PPC
Hi there, I was trying to port my programs from NSBasic to VB.Net, but even when loving to have all the power in my hands and to be able to do things that before needed from external ActiveX controls I’m still fighting with those simple things that get very complicated in VB.Net. I searched up and down in the forums and cannot get a simple way just to play a system sound under certains events in my program. I can understand about more c ...Show All
Visual FoxPro Question about using left join and where clause together.
Hi, I have a select statement as follows: SELECT ; a.cust_id as Customer, ; a.store_no as StoreNo, ; b.pd_code, ; c.pd_sdesc, ; sum(b.ord_qty) as OrderQTY, ; sum((b.cs_uprice + b.handle_fee) * b.ord_qty) as OrderAmount ; FROM ; sspdodhd a, sspdoddt b, sspdcd c ; LEFT JOIN ; ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX February 2006 SDK has Conflict with other DLL
Hello! I loaded down the new DirectX SDK form February 2006. After installing and doing a device creation test, i've got an error telling me, that two dll's are in conflict with each other. So I went into my C:\WINDOWS\Microsoft.NET\DirectX for Managed Code directory and deleteted all subdirectorys in there. I've reinstalled the February SDK but he again tells me that their is a conflikt between two DLL's. Here is the error: Th ...Show All
