Chinwa KneeHo's Q&A profile
Visual Studio How to show the totalpage number with c#
dear all i am a newbie today i have a question in CR 11 How to use code to show the totalpagenumber in My Winform Application(Not VB.NET) my environment C# 2005 ,CR 11 HELP me pls! mewdied , you said right !! i must type all code in c# 2005. (myreport.FormatEngine.GetLastPageNumber(new CrystalDecisions.Shared.ReportPageRequestContext()) may be c# is Hidden this method.. by the way thanks a lot ! you give a good answer , give you a flower!!!thanks ...Show All
Visual Studio Express Editions Mouse Funtions Help
I'm developing a program that, when you move the mouse, returns the x,y coordinates of the mouse into the text of two labels placed in the main form. problem is i have no idea how to do that, i have it set you when you move the window it does it but that really voids the purpose of me making it in my opinion. any light shed here would be most appreciated. thanks in advance to everyone, and thanks to all whove help me so far on other projects, without whome would not have been possible. Maybe something like this: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim ctl As Control For Each ctl In Me .Controls AddHandler ctl.MouseMove, Addr ...Show All
Windows Forms Creating an options dialog for my WinApp
I’m about to create an options dialog that will be opened from my windows application main Forms menu. I have many different “modules” in the application which each of them need to have an own options dialog. For sure this is a common situation. I need some kind of “pattern” to create an Options dialog and add the other modules option dialogs in a tab-like way. All tips of how I can do that in a clean way are welcomed!! My next thing is to store all these settings (properties) in some kind of file and then restore the settings when my application runs next time. I’ve tried searched some articles but I really don’t know what to search on… Take a look at this http://www.c-sharpcorner.co ...Show All
Audio and Video Development WMP 11 [beta 2] Ignoring Registry
Can anyone tell me why: In WMP 10, When in the Library you could drop down the Library options menu and choose whether or not you wanted WMP to: -Add music to playlist on double click -Play track on double click -Play all on double click These options edit the registry value: HKEY_USERS\S-1-5-21-760369723-3109637620-2365065613-1007\Software\Microsoft\MediaPlayer\Preferences LibraryDoubleClickQueue = 1 These values are preserved when you upgrade to WMP 11 [beta 1] and are adhered to. For some reason when upgrading from WMP 11 [Beta 1] to WMP 11 [Beta 2] these values are ignored. No matter how you change them the player ignores them; why And why did Microsoft drop the option to access this function ...Show All
SQL Server A connection could not be made to the report server http://localhost/ReportServer.
Hello Guys, Please take me out from this hell. I created report using VS2005 Business Intelligence Project. It builds fine. I can also see data in the design time. But when I am trying to deploy it gives me this error. TITLE: Microsoft Report Designer ------------------------------ A connection could not be made to the report server http://localhost/ReportServer . ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>Configuration Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-s ...Show All
Visual Basic Data Form Wizard Template
i'm working with a trial version of visual studio 2005 in which i'm currently using VB.net. I'm unable to locate the Data Form Wizard template when adding a new item to a project. I have customomized my installation and i know have all possible components installed. Can someone please help me find a solution. Thanks Danny Hi Danny, Visual Studio 2005 retired the Data Form Wizard template and introduced a new set of features for accessing data. The entire section, "Accessing Data" can be found here http://msdn2.microsoft.com/en-us/wzabh8c4(VS.80).aspx . To achieve the same result as the Data Form Wizard template, you can follow this How-to topic: http://msdn2.microsoft.com/en-us/63h88ca ...Show All
.NET Development Nesting data from a excel sheet and update data to a sql table row by row.
First of all I am new at ADO.NET. but I have some knowledge by reading a book and doing exercises. I have a solution where I read a row of data from an Excel sheet using excel inetrop code in VB2005, not using VSTO. I let user register large amount of data in a excel sheet and validate end then update. Program STARTS >>>>> = > Open and Excel ready to read mode -(Late binding) = > Open Database (Check that the database is open. do = =>Red a excel row validation on field level of each row == > Update SQL DB with SQL Command object ( one row) excelRow = Excel row +1 (Move to text row.) Loop until excel sheet is empty Progran Ends >>>>>> ...Show All
Windows Forms ClickOnce WinForm application - How can I apply a number of T-SQL scripts to my Sql Server database?
Could anybody please help me with my dilemma I’ve developed a winforms application in VB.NET which uses a local Sql Server Express database to store my application data. My application connects to the database using the new user instance option available in SQL Server Express. I have successfully managed to deploy the application using ClickOnce so that the application installs and runs on a clients PC. I have just finished version 2 of my application so when I publish the new version to my web site using ClickOnce, the clients will notice the new version and automatically download and install it. Excellent! My problem is I need version 2 of my application to apply several T-SQL scripts to the local SQL Server Express databas ...Show All
Windows Forms Listbox current item is not selected item.
Hello, I am calling the Focus method on a listbox so that it has the focus on a form. The problem with this is there are no visual cues to the user that the listbox has focus. If I use the tab key to give focus to listbox it draws the items with focus by putting a dotted rectangle around the item. How do I force the item in the listbox that has focus to draw with the focus rectangle without using the tab key to give the listbox focus. I am setting the focus on the form.Shown event. The listbox is getting focus, but like I said, the items in the form are not being drawn with focus unless I tab the control into focus. Keep in mind that the listbox is not the only control on the form. If the listbox is the only control on the form, I do ...Show All
Visual Studio Team System How will CTP7 and RTM Install as a Product?
Will CTP7 and the RTM version install as a completely separate and distinct version of Visual Studio For example, assume I own VSTE for Developers and purchase DataDude. Will DataDude integrate into my current copy of VSTE for Developers, or will it install as a completely separate (second) version Meaning, if I want to work on my C# code for example, I would load VSTE for Developers. But, if I want to work on database schema, I would load VSTE for Database Pros. Thanks - Amos. Can you answer a question about licensing I currently have a license for VSTS for Developers but do not need the developer tools. My primary need is for the VSTS for Database Professionals functionality. Do you know whether the ...Show All
SQL Server Trend Report using Group by
Hello I have a Issue Table which Submit Date / State fields among many others. Issue_ID | Submit_Date | State 1 10/1 open 1 10/2 open 1 10/3 &nb ...Show All
Windows Live Developer Forums IncomingTextMessage does not fire in vb.net
Hi, I'd like to code a plugin for Windows Live Messenger in vb.net. My problem is that the IncomingTextMessage does not fire. A piece of code is given below. The compilation is ok and WLM seems to initialized the addin correctly. But when I receive a message from a contact, nothing. On the other hand, I get the "outgoing event ok" msgbox when I reply . I used Visual Studio 2005 Express edition and WLM v8.1.0178. If anyone could help, I will be very grateful. Imports Microsoft.Messenger Public Class MSNAddin Implements IMessengerAddIn Private WithEvents m_client As MessengerClient Public Sub Initialize( ByVal messenger As Microsoft.Messenger.MessengerClient) Implements Microsoft.Messeng ...Show All
Visual Studio Express Editions Showing Forms (From VB6 thinking to VC++)
Hi! I'm switching from VB6 to VC++ Express. I'm still learning c++ syntax and semantics, but I'm trying to get a "working" feel for VC++ at the same time (in VB, this was a propelling method of learning, just load it up and dive right in, so please, let me know if I'm being counter-intuitive here). Anyway, to the point; here's how I'm thinking: "Form2.Show" What I know about VC++: I've managed to go from "combo1.additem" to "comboBox1->Items->Add("test");." So at least I'm getting somewhere. Unfortunately there is not near as much available documentation (apparently) online for VC++ as there is VB, which leads me to this question: How do I show a second form I've added ("adminPass.h") I've managed to figure out I need: #pragma once # ...Show All
Visual C# Problem with Registry reading..
I am using Windows Vista now and developing a Registry code in C# but i was surprised why when i use this code to SetValue: RegistryKey ping_registry_key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Jassim\\ping-to-ip", true); ping_registry_key.SetValue("ip_address", txtIPAddress.Text); it saves the data under this key: HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Jassim\ping-to-ip instead of: HKEY_LOCAL_MACHINE\SOFTWARE\Jassim\ping-to-ip The message I'm replying to is about as close as I found to being relevant to my question. The referenced page in the MSDN library is .NET centric and this question is specific to an application I'm responsible for which is not based on .NET. I've been unable to locate a similar p ...Show All
Visual Basic Getting the caller procedure name from the called procedure
Hello, I'm developing in a VS2003 environment using VB.NET. I suppose the thingh I'm trying to do is possible and has a trivial solution ... but after searching all day long the Internet I cannot figure out "how"..... Is it possible to get the name of the caller procedure (or function) from inside the called Procedure (or function). If yes what Class/Variable do I have to refer to I mean ... Proc_A calls Proc_B with no parms and Proc_B should be able to say " Hello Proc_A ... ask me for anything you like and I'll do it for you ..... " Thank in advance Daniele Balducci Hi Stefano thanks for your quick replay, the way you suggest is the way it's working now ... but It's ...Show All
