neojj's Q&A profile
Visual Basic Renamimg an object
Hi, I noticed that when you rename an object at design time that this is what the code looks like: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDecide.Click Now I renamed my command button cmdDecide. I'm used to VB6 (using VS2005) now. In VB6 the buttons name normally came after the private sub but here I see it still has the generic name that it was given by VB 2005. I do notice that the name I gave it comes after the handle event. Is this right and if I want to refer to it in another piece of code would it respond to the cmdDecide name. Thanks...Newbie ...Show All
Smart Device Development connection string error
[code] Dim rdaOleDBConnectString As String = "Data Source=WINWIN;Initial Catalog=HOME; " & _ "User Id=<username>;Password = <password>" [/code] Error Message = A required property is not specified. [ Property name = SubscriberConnectionString ] can anyone tell me what is the error by the way what is DATA source and Initial Catalog means if the user id and password is blank is it put like <password> Hi, In case of SQL Server, the keywords mean: Data Source -> The name or ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic shader questions used with Managed DirectX
I'm for the moment learning the shaders, but keep on "blocking" on one ot two thing that I don't understand. My first question : I'm rewritting my Managed DirectX code with shader basicaly to render a mesh without any other thing that just render it. I still have in my C# this type of code : ... myDevice.SetTexture(0, myTexture); Render calls ... In the shader (where it seems that I don't have to pass the texture), I have under the pixel shader section this type of code : ... sampler TextureSampler; float4 Texture(PS_INPUT Input) : COLOR0{ return tex2D(TextureSampler, Input.Texcoord); }; ... and the most stran ...Show All
Windows Forms Method '<method>' cannot handle Event '<event>' because...
I am getting the following error where ntfHelpDesk is a NotifyIcon. <color="firebrick">Method 'ntfHelpDesk_DoubleClick' cannot handle Event 'DoubleClick' because they do not have the same signature.</color> Any help is appreciated. <quote> Now that I'm moving from ASP.Net to Windows Apps </quote> woohoo...way to be! :) I did the same thing about 6-9 months& ...Show All
Visual Studio Team System how can I change my process template?
now, I want to select the MSF for Agile Software Development as my process template, but It only have five workitems, I want to add a Requirement workitem, how can I do expect your help! another question: first I download the MSF for Agile Software Development process template, I do nothing to it ,then I upload it directly, but error arises, it said:"can't upload the process template, please see the error log" why not Check out the documentation here on customizing process templates: http://msdn2.microsoft.com/en-us/library/ms195025(VS.80).aspx Y ...Show All
Visual C++ Linking-Error with VSC++ 8.0
hey ho, I just updated my project from VSC++ 7.1 to VSC++ 8.0 Express Edition. Unfortunately, i get a linker error every time i compile my project: 1>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( $ 6U $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) already defined in main.obj 1>Release/test.exe : fatal error LNK1169: one or more multiply defined symbols ...Show All
Visual Basic A Modest Proposal for Microsoft
I've been a Basic programmer for over 30 years and that whole time I've endured the constant reminder that I'm not a "real" programmer. I know better and you know better but still there's that stigma associated with being a Visual Basic programmer vs. being a C++ or a C# programmer. Now that I use VB.Net it really couldn't be further from the truth since VB.Net does everything any contemporary OOP language does. So here's my suggestion, since Visual Basic.Net is about as much like Visual Basic as C# is like C, why not change the name of Visual Basic.net to B# Now instead of being a VB programmer, I'm a B# programmer. Sound ...Show All
Software Development for Windows Vista Beta 2 update for Workflow Reflector
Hello, Are there any plans to update the Workflow Reflector tool so that it works with Beta 2 Thanks, Notre Hi Notre, It was added to the SDK samples for WF Beta 2. After unpacking Samples.ZIP See: C:\Program Files\Microsoft SDKs\Windows Workflow Foundation\Samples\Applications\WorkflowReflectionUtility\CS Cheers, Paul ...Show All
Visual Basic VB.Net and Access Question
I am trying to learn how to use access and VB.Net in conjunction with each other. I have a few books regarding them but all i want to learn initally is how to add, edit and delete in vb.net. But the books, even though one is actually called Simply VB.Net, dont seem to show any structure as to how this should be done. Can anyone illustrate to me exactly how an item can be added to a database from various textboxes on a form in vb.net. Can someone show me what structure the code should take and even give me some sample code if possible. Anyone helpin me would be a BIG help. Any books that can help me learn this if you can let me know i w ...Show All
Windows Forms Multiple Forms
I'm making a Windows form application with c++. I builded a lot of forms : Form1, Form2, Form3. Form1 calls Form2, Form2 calls Form3 Each call closes the current form and calls the next form. I want to know if there's a way to control the application. The problem is when i close a form using X button or Alt-F4, the current form closes itself but the application is still executing. So i have to manually kill the application in the taskmanager. I know i can exit the application with Application::Exit(); but i can't do it on close event of the form, because the current may call another form... it seems it's the ...Show All
Visual C# C# and Lotus Notes
Does anyone have any suggestions for using C# to do a lookup in Lotus Notes address book Any Help would be apppreciated Thank You A quick google came up with http://www.proposion.com/site/proposion.nsf/pages/N2N , but it also says you can use ODBC to access Notes. Maybe this helps: http://builder.com.com/5100-6388-5116212.html ...Show All
Visual Studio 2008 (Pre-release) Metro a.k.a XPS & 3D graphics
Hi I have a few qeutions to ask : #1: I was busy with Avalon working trough the SDK documentation and examples and decided to create a bit of 3d graphics, but when I tried to create a <Viewport3D.Camera> tag in my <Viewport3D> tag is gave me an error saying that the <Viewport3D.Camera> tag was an invalid child element, although when I build the application is still runs. Why is it doing that Is it supposed to do that #2:I am also interested in working with the new XPS specification but, I am having trouble creating such a project. What I want to ask is the System.Window.XPS.Packaging API available in this bu ...Show All
Windows Forms Windows XP and Data Grid control
Does anyone know if there is a way to obtain an XP Themed data grid column headers Should I inherit the DataGridTableStyle class and override the paint or something (which I don't think you can do). I want to acheive the effects you get like column header hovers, left aligned sort indicators. I can do the sorted column highlighting in&nbs ...Show All
Windows Forms Editable Panel within UserControl
I have a usercontrol that I drop a panel and a label onto. I dock the label to the top and the panel dock to fill. When I drop my custom usercontrol onto my form, I can't add controls onto my panel. I want the ability to add controls onto my panel inside of my usercontrol. I have read some threads about using EnableDesignMode but it  ...Show All
SQL Server Recommended Books
Can somebody recoommend me books for sql server 2005. I am interested specially in CLR inside sql and Business Intelligence. A good book that is focused only on SQL & CLR is "Pro SQL Server 2005 Assemblies" by Dawson and Skinner, published by Apress ...Show All
