Orellang's Q&A profile
SQL Server Database Diagrams
TITLE: Microsoft SQL Server Management Studio ------------------------------ Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects. ------------------------------ BUTTONS: OK ----------- ...Show All
Visual Basic Inserting Sub-procedures into Module's ?
Hello all, I am new to Programming, Visual Basic and Visual Studio and have a general question about Modules. I want to send data out my serial port and was wondering if I could insert code to access the port into a moduel so that it would be accessable to various "Button_Click" events with-in the Windows program I am writing. From reading I understand that when I insert varibles or Sub-procedures into a module it is accessabl ...Show All
Visual C# Bind with WindowsIdentity
Hi, how can I bind to the ActiveDirectory with WindowsIdentity, without requiring username and password again Thanks. I found and expect to have to use the token.. Do anybody of you unmanaged guys know how to bind to the ActiveDirectory (in fact I need to get the Guid) with the login token Thanks... ...Show All
Windows Forms prevent flicking while opacity is enabled
Alrighty....to start, I've tried the SetStyles and setting the TransparencyKey to try and simulate a layered window, but neither work. In my software I'm implementing a zoom feature. I have some controls that I programmed myself (they implement Control and override both the Paint and PaintBackground events). When I zoom, I initialize a new form and display it, and change the parent of my custom control. This works well, until I set the opacity o ...Show All
Visual Studio Document Explorer Crashes on Search
Clean install of Windows xp Service Pack2, Sql Server 2005 Developer Edition installed, VS 2003 installed, Whenever I perfrom a search or filter I get Document Explorer has encountered a problem and needs to close. Document Explorer works fine for Sql Server Documentation, it only exhibits this behavior with Visual Studio Documentation and does not matter if it is launched from the IDE or from menu. Help!!! this is very frustrating. Thanks ...Show All
Visual Basic Loading drive into a variable
I have this little segment of code that I plan on using in a listbox. I want to be able to select the drive in the listbox pulldown, load that to a variable and use it. I've included the basic code below. Dim getInfo As System.IO.DriveInfo() getInfo = System.IO.DriveInfo.GetDrives For Each info As System.IO.DriveInfo In getInfo ListBox23.Items.Add(info.Name) Next Also, does anyone know how to get rid of the doub ...Show All
Smart Device Development New to .net CF2 & PPC
Howdy! I've done a bit of programming in the past and now am looking at making some stuff for PPCs. I downloaded the Emulator and ActiveSync, but have not managed to get them to sync together. Anyone know of any n00b guides for this I read in the doco to 'rightclick on the GUID'. I'm guessing this means 'rightclick on the emulator' but that brings up no menu for me. I'd also like suggestions on a free IDE and compiler. I'm thinking .Net Compact ...Show All
.NET Development Windows Application have problem with Stored Procedure...
Hi. I have problem with Stored Procedures and Windows Application. I don't know what's wrong with them, but they are going on my nervse. This is Stored Procedure I want to EXECUTE: [code] ALTER PROCEDURE spFormSiteOptionsSet ( @DISABLE_LOGIN bit, @DISABLE_BUYERS_REGISTRATION bit, @DISABLE_PROGRAMMERS_REGISTRATION bit, @LOCK_SITE bit, @PERCENTS int, & ...Show All
Visual C# Adding multiple records into a database from a list box selection.
I'm trying to figure out how to get what is selected in a list box to be added to the database, but as a seperate record for each item. Here is what I have so far, but when I compile I get an error that "Listbox does not contain a public definition for 'GetEnumerator'. Has anyone done this before or know how to do this Thanks for all of your help protected void btnAddUsers_Click( object sender, EventArgs e) { foreach ( Li ...Show All
Visual Studio 2008 (Pre-release) child XAML as like Child window.
I am a begginer Avalon programmer. I am learning this, and I noticed it is different with MFC program. I am trying to make a simple preogram, It need to include a child window, the child window will change dinamically. SO I need to make a main window (Main.XAML / Main.XAML.CS) and it need to include Subwindow (sub.XAML / sub.XAML.CS) . How can I make this. I can add some controll or Other element. but How can I add other XAML . ...Show All
Visual Studio 2008 (Pre-release) DataTemplate as an external file
Hi, I would want to use a DataTemplate from an external file, not within the file that contains my XAML code. Is it possible to have external sources of DataTemplate If yes, how Thanks for your responses!! You can place templates in a separate resource dictionary file and then merge the contents of the dictionary into a resource dictionary in your window/page as in: <Window.ResourceDictionary> <ResourceDictionary ...Show All
Windows Forms Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. where get more particle system sample source code
I'm a particle jackaroo. Now I can write basic snow particle, but I want to write more particle. For example, explode, fire-flag, Magic Effect etc. Admin give me more particle ,thanks. What you need is point sprite Other particule based on Quad will have sorting problems You need to accelerate the particule and not being afraid of speed It make the effect more spectacular for the explosion and don't forget to match a sound ...Show All
Visual Studio Express Editions Database Creation thru C# IDE
Why is it that when I right click Data Base Explorer from the C# IDE, the "Create New SQL Server Database" is greyed out I am logged in thru an account with administrative priveledges. I can create a database thru the command line utilities and then attach it via Database Explorer but I can't create the database directly thru the explorer. Go to the solution view and add a new item to the project, ...Show All
Visual C++ Function or algorithum for finding a value
Hi, im currently trying to make s simple program that calculates a formula that the searching paramether cannot be calculated directly, its something like : 1/x = z.log10(x+y) where we know the value of Y and Z and need to find a fitting one for X. So my question is: Is there a function that can do the things easier or I got to find myself the value that works, and what algorithum to use Thx a lot Yes. . I think it can be solved vi ...Show All
