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

Software Development Network >> Paul-I's Q&A profile

Paul-I

Member List

Alain Zanchetta
sapo
stombiztalker
redviking2006
ngaisteve1
Dan Scott
eldiener
Stefoon
Mikael Håkansson
tichy291574
Peter De
Jan57
rxg
JFoushee
Leo Ng
Alastair Q
TerryMcP
papermater
David Beavonn
SekharPC
Only Title

Paul-I's Q&A profile

  • .NET Development Using VB.NET UserControl from VB6

    Hi I have a VB.NET usercontrol that contains a toolstrip, on that toolstrip I load in runtime 9 toolstripbuttons by code: tsToolBar.Items.Add(tsButtons(i)) AddHandler tsButtons(i).Click, AddressOf tsButtons_Click I declare at start of the usercontrol : Public event ButtonClick() -this event I want to use in VB 6. How and where I have to raise this event (ButtonClick) that it have same behavior as click on a toolstripbutton Could anyone help me with that Thks Avy Try this: Private Sub tsButton_Click(ByVal sender As Object, ByVal e As EventArgs) RaiseEvent ButtonClick() End Sub ...Show All

  • Visual Studio can not connect to my database

    iam using sql server express with advanced services and my database works seems to work well. Problem is when i open, SQL server business interlligence development studio to design my reports and try to configure the connection properties dialogue box, i get the following error: Unable to open the physical file “C:\TestingWebsite\App_Data\Patientdatabase.mdf\”. Operating system error 32: “32(the process can not access the file because it is being used by another process.)”. An attempt to attach an auto named database for file C:\TestingWebsite\App_Data\Patientdatabase.mdf failed. A database with the same name exists, or specified file can not be opened, or its located on a UNC share. I have unknowingly managed to play around it and ...Show All

  • Visual C# which is the best way to desgin a bussiness model, class or struct?

    i develop a B/S project which include below: WEB - web project - UI BLL - class library - Business Logic DAL - class libaray - Data Access Model - class library - Business Model when i design the business model, for example BookInfo, i am confused for create it with class BookInfo or struct BookInfo. who can give me a guide thx in adv hi, Figo Fei thanks for your ansewer and these useful links. i will check them later, by the way, where are you from "Fei", it seems like a chinese name thx in adv ...Show All

  • Visual Studio Express Editions copy forms between versions of Visual Express

    Summary: Can we copy forms between versions of Visual Express If someone has a real nice set of forms in Visual Basic Express and I want to use the same basic forms in C#, and I don't want to manually enter all the buttons and boxes and labels and positions, etc, is there a way to import the form into C#. I don't expect to get to be able to use the code, but getting the buttons would be nice. I strongly suspect that the core engines that drive all the Visual Express products are the same, only the syntax and grammar rules differ for the languages. If so, the conversion should be simple. Besides physically copying the controls and layout as Weston describes you can use visual inheritence. This boils down to that you derive a cl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Material Alpha

    For testing purposes I try to create a simple transparency effect, but whatever I do it does not work... PresentParameters presentParams = new PresentParameters (); presentParams.Windowed = true ; presentParams.SwapEffect = SwapEffect .Discard; presentParams.EnableAutoDepthStencil = true ; presentParams.AutoDepthStencilFormat = DepthFormat .D16; presentParams.PresentationInterval = PresentInterval .Immediate; device = new Microsoft.DirectX.Direct3D. Device (0, Microsoft.DirectX.Direct3D. DeviceType .Hardware, this , CreateFlags .SoftwareVertexProcessing, presentParams); ... this .device.RenderState.ZBufferEnable = true ; this .device.RenderState.Lighting = true ; this .device.RenderState.Ambient = Color .From ...Show All

  • Commerce Server creating catalogs

    I cannot create a catalog for either the CSharp or StarterSite from the CS Catalog Manager on my development server. In Tasks there is no option to create a new catalog and the menu item under File..New is grayed out even though the connection was opened successfully Here's what I did (e.g. for Catalog Service-did same for Orders,Marketing and Profiles). This was not the ideal security scenario but I am just trying to get this product up and running so I can show my boss how it works. Installed MSCS2K7 pre-requisites installed SQL2k5 Installed MSCS2K7 on my windows 2K3 box unpacked both the CSharp and StarterSite Created a local admin acct for MSCS2K7 (call it locadmin) which I used for all 4 services Assigned w ...Show All

  • Visual C# Run application as a Service

    What type of project it should be to run as a service Say if I create something and want to run it as a service how to do it and some of my other application has to use that service how does that work you need a mechanism for the two apps to communcate... usually socket communication, but it can be as cheezy as app a writes c:\bob.xml., and then service a consumes it and deletes it. Cal- ...Show All

  • SQL Server how to configure TCP port for unattended install

    I've looked through every source of material on SQL Server Express unattended installs that I could get my hands on, but so far, I've come up with nothing that shows how to set the server engine's TCP port to 1433 . Since the SQL Server setup is part of a (considerably) larger install, requiring the customer to set this by hand is not really acceptable. Is there a way to do this with a command-line parameter (etc) Thanks in advance Josh No, I meant exactly what I said. For SQL Server 2005 Express Edition, static port 1433 is *not* the default. Its default is to use port numbers randomly assigned at run-time. Josh ...Show All

  • Visual C# help with treeview

    hi all. in my c#2005 winforms application i must load a treeview. my table is very simple,only 2 columns, 1 for the description and 1 for the hirarchy e.g - MyFatherA 1 MySon1 1.1 MySon2 1.2 MyFatherB 2 MySon3 2.1 whats the best and fastest way to load my treeview Hi, is this what you are looking for private void Load_Click( object sender, EventArgs e) { TreeNode MyFatherA = new TreeNode ( "MyFatherA" ); MyFatherA.Nodes.Add( "MySon1" ); MyFatherA.Nodes.Add( "MySon2" ); TreeNode MyFatherB = new TreeNode ( "MyFatherB" ); MyFatherB.Nodes.Add( "MySon3" ); MyFatherB.Nodes.Add( "MySon4" ); treeView1.Nodes.Add(MyFatherA); treeView1.Nodes.Add(MyFatherB); }     ...Show All

  • Visual Studio Team System Visual studio locking up when doing TFS stuff.

    Kaze: please post your issue to the SourceSafe forum. The TFS provider does not share any code with SS anymore. Sacks: the issue’s been fixed for awhile but it looks like the official patch is still being prepared. If you (and everyone else) call customer support and ask for QFE #11753, hopefully that will spur the process along. ...Show All

  • Smart Device Development How can I deploy latest service pack along with my application cab file

    I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I got Framework 2.0 installed from MS, but there are still some "magic files" required that MS did not include with .Net CF 2.0 Cab files. If you run Visual Studeo 8.0 and allow it to copy its "versio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D graphics and how to do a simlpe put pixel ? (old school style :) )

    Hi people, i have installed XNA with c# and thats its seems to be a pretty good tool but there's not so much documentation for the moment. Im actually seeking on how do a simple putpixel on the screen, i was thinking on creating a Texture2d object then set some data in it and finally draw that texture to the screen but im quite lost on how to create the texture, i ahve tried to create one but i got an exception error on the rutime. Any help would be really apreciated. Thanks, Nicolas Hi, yep will be easier, I'm using the same code that Psykotic gave me, nothing seems wrong to me according the documentation :-/ private void WindowsGame_Starting(object sender, GameEventArgs e) { //Set Screen t ...Show All

  • SharePoint Products and Technologies SharePoint Security - Domain Admin Account

    It has come to my attention recently that the domain admin account has full access to each of our sharepoint site collections. i have verified that it is not set up as a site collection "owner". I went into central admin and confirmed it is not a member of the farm administrators group. However, when i select sign in as another user on a site, and use the admin account, i still have full access to every site collection it seems. currently we are running wss version 3 and sql 2000 on one server. is there another reason this might occur or something else i should check out the only other thing i can think of is the account i setup to use and edit the databases is the domain admin account. but i thought by default the admins grou ...Show All

  • Windows Forms Splitter Container

    Is there way to create an interface where on a splitter bar triangles are placed and click on which expand/collapse left/right or top/bottom panel respectively, as we can do in Java Swing . Or perhaps it may be done somehow else TIA Michael There is not explicit control for that.But you can make your own implemntation.You can make us of a arrow image for showing the arrow icon.The expand and collapse can be implemented by changing the location (X location ofr left/right and Y location Top/Bottom) dynamically inside a loop.If we put some Sleep(),in the loop, a scrolling effect can be enabled ...Show All

  • Windows Forms Format Text for PhoneNumber

    If i have a text field and i want to enter a phone number like 12345678190...but i want it inserted in my db like 123-456-7890 how would i go about doing that Split your text box up into 3 textboxes: textBox1 would be area code textBox2 would be the first 3 digits textBox3 would be the last 4 digits Then do: string phoneNumber = this.textBox1.Text + " - " + this.textBox2.Text + " - " + this.textBox3.Text; The output would be:  ### - ### - #### Then for each textBox set the maximum allowed characters for each one. This, to me, is the best way to go about it instead of trying to figure out a way to format it. ...Show All

©2008 Software Development Network