Software Development Network Logo
  • Game Technologies
  • Windows Vista
  • Windows Forms
  • Smart Device
  • Visual J#
  • Visual Basic
  • Windows Live
  • Visual Studio
  • Visual C#
  • SQL Server
  • Visual FoxPro
  • VS Express Editions
  • VS Team System
  • Visual C++
  • .NET Development

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

Alakya

Member List

Greg Stolecki
SHARANU
The_Real_MBu
Kavitha
tjjang
DennisG
oananiev
Mookey
GamePgmr
HansBaltussen
uzy
Snow Ko
Tomas Scott
NamelessJuan
aurora123
Robert Conley
Bharath Kumar J
khaled94
Breakpoint
el33
Only Title

Alakya's Q&A profile

  • Visual Studio Help needed in structing a solution in source safe safely

    How can I structure my Solution in source safe Hi I have created a solution in vs.net as follows   Framework     DataTier  (solution Folder)           DT.DataManager   (class Library)     BusinessTier (solution Folder)           BT.BusinessManager   (class Library)     UITier (solution Folder)           UI.WinForms   (control Library)          UI.WinControls  (control Li ...Show All

  • Windows Forms Check box data binding, AddNew doesn't work

    I am having problems with binding to a check box. It works fine until I attempt to add a new record to the dataset through the binding context object. The code that adds the new record to the dataset is listed below Me.BindingContext(dsDataSet, TableName).EndCurrentEdit() Me.BindingContext(dsDataSet, TableName).AddNew() The add new statement generates an error and a new record is not sh ...Show All

  • .NET Development rename a dataset in feb ctp

    I found no way of renaming or deleting a dataset.  Search didn't help. Thanks in advance dennist I see no way of getting properties for the dataset.  When I right click the dataset in datasources, properties doesn't show up.  If I right click the .xsd file in solution explorer, properties doesn't show up. If you can tell me how to access the dataset's properties, I'd be grateful. dennist well, what do you know.  I right clicked the panel of the xsd  diagram and properties was an option.  Thanks. dennist ...Show All

  • Visual C# Having a container in a usercontrol receive control placements...

    I have a graphical usercontrol that draws custom borders, and I need to allow docking, so my solution was to create a secondary panel within the usercontrol that was sized appropriately based on the border that controls could be dragged within during design time. The problem is I just can't get this working.  I tried overriding the ControlCreate/Add functions and setting the .Parent, but no go. How can I have a container within my user control serve as the main container for all controls that are dumped into it Thanks! Moogy - A better place to post this type of issue would be on the Windows Forms forums.  They can be found h ...Show All

  • .NET Development MMC 3.0 SDK

    From the MSDN site there are several samples and documentation about the new managed MMC 3.0 extensions. I tryied to look in the april platform SDK (the last one I found) but there isn't any MMC 3.0 sdk. Does somebody knows where can I get it Thanks, Pierre russian, I'm not sure whose instructions you mean, but if you're refering to my post of 10-17, you do want the dll, but you shoudn't be trying to "register" it, as it is a .Net assembly, not a COM component. In your .Net project, right-click the references folder in the solution explorer and select Add Reference." In the dialog box, click the browse button and brow ...Show All

  • Visual Studio ToolboxItem attribute not honored by AutoToolboxService in VS 2005

    The service that automatically creates toolbox items is not using the correct class: it ignores the ToolboxItemAttribute on the component that specifies which ToolboxItem-derived class to use, and instead creates a ToolboxManagerToolboxItem. The result is a bunch of unusable Toolbox items. We have already logic to populate the toolbox with a correct ToolboxItem whenever the designed class is opened in our graphical root designer. So we have good toolbox items placed there, in that circumstance. What we need: How to disable the AutoToolboxService for a Type If there is no way to disable it, how to get it to honor the ToolboxI ...Show All

  • SQL Server Best way to make a database not in use?

    Hi. I am almost wrapping up a project of my own and I will have the option to restore the database, so dropping the existing one and then running the SQL script to create the database, tables, stored procedures and so on. My question is, (using .NET 2.0 C#) - what is the best way to resolve the "cannot drop database as it is currently in use" message, or some message of the similar sort Even though I specified "USE MASTER" in the commandText string, there will be somewhere, in a situation, where the database will still be in use. How can I forcefully make it NOT in use, drop it and do other things I like t ...Show All

  • SQL Server How to access report parameters in custom code

    Hi, Below is a custom code function for my report. At bottom is the expression that calls the custom function. When I run the report I get an error message:  "There is an error on line 3 of custom code: Reference to a non-shared member requires an object reference."   If I take out the lines that try to access the report parameters then there is no error.  Can report parameter be set/read from the report's custom code Thanks!   Public Function FormatColorFirstName(varFirstName) As String     Select Case varFirstName       Case "John"    & ...Show All

  • Visual Basic Visual Basic 2005 Question for Calling Another Program

    Hi All, I have a question I'm trying to figure out - I'm writing a simple little VB app where I want to have a button or some type of action that when activated, it will call another application. I can get this to work, however, I need to be able to use switches with my application and that is generating an error when I try to run my app. The following is the code I'm using (I'll use notepad as the sample program I'm trying to run) Dim test1 As String = "C:\windows\system32\notepad.exe" System.Diagnostics.Process.Start(test1) This works and will start the notepad app but if I use something along the lines of the ...Show All

  • Visual Basic trouble setting a max and min value

    I have the following code: Private Sub numericTextboxKeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim tb As TextBox = CType(sender, TextBox) Dim chr As Char = e.KeyChar If IsNumeric(e.KeyChar) And Not e.KeyChar = "-" Then 'If adding the character to the end of the current TextBox value results in ' a numeric value, go on. Otherwise, set e.Handled to True, and don't let ' the character to be added. e.Handled = Not IsNumeric(tb.Text & e.KeyChar) ElseIf Not Char.IsControl(e.KeyChar) Then 'IsControl is ...Show All

  • Visual C# trouble using delegate in WndProc

    when i use delegate like this: ----------------- [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] protected override void WndProc(ref Message m) { delegate_ReplyFromDataProcess = new PrepareDelegate_ReplyFromDataProcess(ReplyFromDataProcess); delegate_ReplyFromDataProcess.BeginInvoke(m, null, null); } delegate void PrepareDelegate_ReplyFromDataProcess(Message m); private void ReplyFromDataProcess(Message m) { IntPtr pnt = dp.OnReply(UInt32.Parse(m.WParam.ToString()), Int32.Parse(m.LParam.ToString())); } ----------------- i met the error: * ...Show All

  • SQL Server Using images in database

    We are building mostly read Real estate web site where there are many pictures what users will see from their browers.We have come up with 3 ideas.But we need help,is there any alternatives to these. 1.Put them into the database we are using . 2.Seperate the images to another instance and record images to that instance . 3.Use the filesytem. What is the best way of storing and retreving images for a concurrent web application We are building mostly read only Real estate web site. We have 300.000 and more pictures(50 kb) what users will see from their browers. We have a problem storing those images. The speed is the ma ...Show All

  • .NET Development Installing .NET Framework

    I am trying to install .NET Framework 1.1, the installation will get almost to the end then it tries to register EnterpriseServices.dll and fails then rollsback. I have scoured the internet for a solution but cannot find one, even in the Microsoft newsgroups, I've tried the troubleshooting guide Microsoft provides with no luck and a lot of other things with no solutoin. Any help on this matter would be much appreciated. hi , which OS you are using n moreover before installing .NET clean the system that means uninstall all previous versions on Microsoft studios. and then try to install it it will happen ...Show All

  • Visual Studio Team System Setup cannot access Reporting Server

    Hi there, i'm trying to install the Team Foundation Server. When setup asked me to enter a user for the Report Server. I created a user TFSReport and added him to Administrator-group and all the sql-groups. I opened the Report-Server Configuration and configured it so that the TFSReport-User controls the service (works without any errors). Near to the end of the setup, i get the following error, that setup cannot access the SQL Report server. I should ensure that it is installed, that it runs and that i can access it. Any idea Thanks in advance, David I think I narrowed the problem down. The command that ...Show All

  • SQL Server SS05 : INSERT contents of xml file into XML col

    in SS05 : is it possible to write INSERT or UPDATE T-SQL that loads the contents of an XML file into a col of XML datatype Yes, you can use the new OPENROWSET(BULK) statement to read the XML file and use it in a INSERT...SELECT or UPDATE statement. Here are some examples: insert into your_table (xmlcol) select cast(x as xml) from openrowset(bulk 'somefile.xml', single_blob) as f(x); update your_table set xmlcol = (select cast(x as xml) from openrowset(bulk 'somefile.xml', single_blob) as f(x)) where id = 1; See Books Online for more details on openrowset. ...Show All

©2008 Software Development Network