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

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

KC416

Member List

Mike Brown
ZardoS42
Mehta Vikas
Residual Logic Games
Umair-Shahzad
Chrisull
Dietz
Legendary Gio
Adhi78
el_Fede
pinoyz
kblackwell
singam
*_Enigma
fddsfsdf
shafiqm
Douglas Stockwell
kaborka
Neweb
newbie1a
Only Title

KC416's Q&A profile

  • Visual Basic Crystal Report And Similar Tool For Printing Document

    May i know is there any tutorial on Crystal Report, i want to retrieve some data from database, format it and print it out. Apart from Crystal Report, what other tools is suitable for this Thank you. Now i am able to display the data from the dataset. First, i select which table i am going to make use under database expert and then you can drag any data field of that table you want to display from Field Explorer. Apart from that, i coded the SQL query which retrieves the appropriate data and fill this into dataset with Adapter. Set this dataset as DataSource of CrystalReport and previous dragged data field will only retrieve the result according to the query.   However, the datafields i can drag ...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 was able to get this to work (show the rectangle) simply by setting the Focus: ListBox1.Focus() However, the focus did not get set to the control at all if I execute this line in the Load event for the form. If I put the statement in a different event in the form, focus is changed to the control ...Show All

  • Internet Explorer Development WebBrowser Control not loading java applet (xp sp2)

    Hi, I am having a mfc exe with webbrowser control in a dialog. when i navigate to a page containing a java applet, it doesnt download/activate the applet. I'm just wondering if someone has encountered this issue my machine config is as follows: Win XP Pro SP2 IE 6 JRE 1.5 points of interest: 1) When I open navigate to the page using IE, navigation bar appears.. if i allow the applet to run, it works fine 2) Firefox can also download and render the applet successfully 3) I have removed ms jvm from my machine 4) i have tried to load pages( having applet) from internet, intranet and local machine but it doesnt work for any page having applet this gives an impression that the java runtime is working fine but there is something that i need to ...Show All

  • Visual C++ error LNK2005 on static class variable

    Hi again, I am getting this linker error below and could not quite figure out why. It seems that the linker is saying I declared my static class variable OptionFactory EuropeanCall::MyFactory mutliple times. Perhaps it is the way I am declaring it inside VanillaOptions.h I am rather new to C++ so it is not obvious to me. Thank you for any help! Linking... OptionFactory.obj : error LNK2005: "public: static class OptionFactory<class BaseOption,class EuropeanCall> EuropeanCall::MyFactory" ( MyFactory@EuropeanCall@@2V $OptionFactory@VBaseOption@@VEuropeanCall@@@@A ) already defined in MCMain.obj VanillaOptions.obj : error LNK2005: "public: static class OptionFactory<class BaseOption,class EuropeanCall> ...Show All

  • Windows Forms Form Maximize

    Hi, I have two forms, Parent MDI form and a child form In VS 2005, if I use the following code right after InitializeComponent method in the constructor, I am getting two sets of control box buttons. Form2 _frm = new Form2(); _frm.MdiParent = this; _frm.WindowState = FormWindowState.Maximized; _frm.Show(); Thanks, Looks like a bug, and a spectacular one at that. The good thing is that there is a simple workaround: just move your code to the Form_Load of the parent and the problem is gone. HTH --mc ...Show All

  • Visual Studio 2008 (Pre-release) TruncateExistingOrCreateNewTable

      What that mean bros I hoping it is just what it is with no ill affects.  Thanks, BillB If you are trying to sync table (T) and that table happen to exist in the client database and contains some data, then specifying CreationOption for T as TruncateExistingOrCreateNewTable instructs the sync runtime to delete the contents of T and reuse it (schema, indexes, constraints.. etc of T are kept intact). If T did not exist, then it will be created in the first sync based on the schema returned from the server. Thanks ...Show All

  • Visual C++ C++/CLI Property Block Question - Compiler Bug?

    I am getting a compiler error when using a property block in a derived class that uses the same property name as the base class. Both have been declared 'private'. This does not occur when using a simple propery with the built in backing store. Here is the error: error C2248: 'A::Internal_3' : cannot access private class declared in class 'A' public ref class A { public: A(void) {} virtual void DoNothing() {} private: int _internal; int Internal_1() { return _internal; }  // simple 'get' style method property int Internal_2;  // property using built-in backing store property int Internal_3 { int get() { return _internal; } } }; public ref class B : public A { public: B(void) {} virtual void DoNothing() overrid ...Show All

  • .NET Development Application Authentication

    Is there any way to control access to an application. This application would be a stand alone app not connected to the web in any way but need to authenticate specific users to keep the unprivileged user from accessing the documents in the app. Ive looked online and in a local bookstore and all I can unearth are references to web authentication. I konw there is a way to authenticate with the current user logged in in XP but I would rather not restrict the app to only being used whilst on your login. Any ideas Thomas I've never done either. Would you mind explaining what each of those would need I'm new to the world of VC# programing and VS. Thanks Thomas ...Show All

  • SQL Server Quotes or no quotes for calculated members

    Guys, I am a little confused by the calculated members that shows the MDX between quotes for converted cubes. If I take off the quotes, it looks like it works so what are the quotes for I am talking about the form view of calculated members. Thanks, Philippe ...Show All

  • SQL Server How to manage all the SqlNK versions at the same time?

    Hi everyone, Nowadays, we've got four sql versions running around: 6.5, 7.0, 2000 and 2005. If you try attach from Enterprise Manager 2005 servers it doesn't allow you because of 2005 uses SMO instead of DMO. If you try attach from Management Studio 6.5 or 7.0 servers it doesn't allow you too. We'd like to have from the same place a tool for all of them. Is it possible Thanks in advance, I have client tools installed for SQL 6.5, 2000 & 2005 in order to manage our environment that is a mixture of SQL 6.5 to 2005 versions, I have no problem in having 3 of them and using at same time. Could you please explain what you mean by 'if you try to attach....'. ...Show All

  • Visual FoxPro set font

    i have a variable chr(18) chr(27)+chr(77) as a global variable ... now i want change my report for details font size to more smaller it dont have any effect. Gcreset = " chr(18)" &Gcreset and now i SET PRINTER FONT 'Courier New', 8 STYLE 'N' it didnt have any affect at all. Thanks in advance. ...Show All

  • Visual Studio 2008 (Pre-release) Glass effect inside my program - not to desktop.

    Is it possible to add a rectangle on top of a TextBlock and add some kind of transparent glass-effect to the rectangle. I don't just want a simple transparent png, i want a diffuse glass-effect as seen on this picture: http://pinvoke.net/blog/images/WPFglass.jpg I'm running on XP but I don't want the entire window to be transparent. The window should be solid but if i have some text inside my program i want to be able to cover it with the glasseffect (not simple opacity).   Thanks anyway. ...Show All

  • .NET Development DateTime Conversions

    I am using this line to display results on a wepage: <%# DataBinder.Eval(Container.DataItem, "Modified").ToString() %> This works and gives me the modified date as: 9/15/2006 10:55:19 I need to display it as: YYYY-MM-DD HH:MM:SS I tried to do this: <%# DataBinder.Eval(Container.DataItem, "Modified").ToString("yyyy-MM-dd hh:mm:ss") %> But this just gives me an error, what am I doing wrong here Hi Rick Sorry for late reply been busy Here is what you need to do: 1.        Copy and paste this function into your class. public string ToDateString( string wrongDate) { string [] datetime= wrongDate.Sp ...Show All

  • SQL Server Installing sql 2005 using RDP.

    Are there any known issues (problems, etc.) with installing sql 2005 on a remote server using Remote Desktop Any problems installing Sql 2005 SP1 via RDP TIA, Barkingdog ...Show All

  • SQL Server SSAS Logging

    Is there a way to log SSAS errors to a SQL database I know you can do this with the query log, but I want the what is written in the actual log file to a SQL table. I am able to do this by parsing the SSAS log file in SSIS and inserting it into a table. Is there an easier way Thanks in advance, Nick With SP2 that is coming soon you will get a ASTrace sample application that is going to give you ablity to push AS trace to SQL server table. It is pretty simple and based on the Profiler object model that is doing most of the work. Hang on little while till SP2 goes out. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

©2008 Software Development Network