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

Software Development Network >> The-Mentor's Q&A profile

The-Mentor

Member List

Toan
JGttttt
JaredJ
m.eisenstein
Mike Hadlow
the frenchman
ChandraP
Ute
Rodel E. Dagumampan
mshawnharris
Shippa
stak32
chenge
Othello
une
tschissler
programmer01
Puncr0c
CHEN YU-TIEN
prayag
Only Title

The-Mentor's Q&A profile

  • Visual Basic Clueless Beginner: Expert System design - Suitable Environment?

    Kind Helpers, I apologise for being at sea and hope that I am posting in the right category! Using Natural Language Processing, I would like to design a prototype system in which users will enter their solutions to some specified problems and the system will analyse and categorize these solutions. Kind of like a problem-specificWikepedia.The database grows as more and more solutions are fed. (My Programming Background: Some VB and C++) This is just an idea in my head which I am committed to materialising. I want to solve this in an Object Oriented way. I understand that I can use VB.Net as a Front-End and MS ACCESS as the Back-End. The trouble is I am completely unfamiliar with Parsing and do not know which Program ...Show All

  • Windows Forms How to bind a hierarchical DataSet

    Hello I had to migrate an application that was based on hierarchical ADO recordsets (in this technology, a child chapter stands as a child recordset in one of the fields) Since: 1) The same approach add to be kept in the .NET version in order to keep a uniform way of accessing data from the application point of vue 2) In ADO.Net this approach does not exist (one get an array of DataRow using the GetChildRows method instead of a DataTable) I created a new class that simulates this behavior, that is root tables as well as child rows are always embedded in that class. Now the question is: Since this class should be used as a DataSource for the DataGridView control, I was wondering how to implement the DataV ...Show All

  • SQL Server group numbering issue

    Hi everyone, The problem is about numbering groups. I'm trying to display data like this- 1. U.S 1.1 San Francisco 1.1.1 employee1 1.1.2 employee2 1.2 Dallas 1.2.1 employee3 2. UK 2.1 London 2.1.1 employee4 I've tried using RunningValue(1, Sum, "group_name") but it gives erroneous results. I'm using 3 lists, one at each group level. The outermost list (1st list) is grouped by "country" (group_1), 2nd one is grouped by city (group_2) and the innermost (3rd one) by employee name (group_3). I can't figure whats wrong. Can anyone help me Thanks in advance. Thank you so much. It works! The SUM aggregation wa ...Show All

  • Visual Studio Express Editions What is the quickest way to determine the height/width of a computer's screen?

    What is the quickest way to determine the height/width of a computer's screen in Visual Basic I ask this question because I want the program I am writing to scale to about 80% of the available screen area. thanks for any help! That would be the Screen class and it's PrimaryScreen/WorkingArea properties: MessageBox.Show(Screen.PrimaryScreen.WorkingArea.ToString()) WorkingArea does not include the space taken by the task bar. If you need to include that too use Bounds instead of WorkingArea: MessageBox.Show(Screen.PrimaryScreen.Bounds.ToString()) If you have multiple monitors using PrimaryScreen may not be a good idea because your form is not necesarilly displayed on the primary screen. Yo ...Show All

  • Visual C# WindowsApplication1.exe has encountered a problem and needs to close...

    Hi. When I Create new C# WindowsApplivation Project in VS.net2005 and Compile it, I receive this error :   WindowsApplication1.exe has encountered a problem and needs to close….. I write no Code in this project and just after the Project Creation I used "Start without Debuging" for Compile it. What should I do Thanks. thank you for Reply. yes! when I run my App in Debug mode I can see my form!!! but I recieve an Exception error. this is outofMemoryException! this is Exception from my Form constructor! and my form is Empty. public Form1() { InitializeComponent(); } for ever new WinApp project that I Created , I recieved that error. what should I do I don't reinstal "frameword" and "VS.ne ...Show All

  • Visual Studio Team System Branching Approach Inconjunction With Project References Approach - What is Recommneded?

    Hello, My team is implementing TFS with good success. We have a desired approach on how to handle our branching structure and how to organize our project references. The problem is how to integrate these two concepts into one simple set-up. Let me describe our desired approach to both areas and then discuss where the friction point occurs. Approach to Branching Based on previous experience and open literature, we want to take a “Branch by Purpose” approach to branching. There is an excellent blog on this subject that also contains additional links to review on branching, particularly from a TFS viewpoint ( http://blogs.vertigosoftware.com/teamsystem/archive/2006/03/30/2484.aspx ). Within a given TFS Proj ...Show All

  • SQL Server SQL server Management Studio Express

    We just installed SQL 2005 server. It works fine (allows to setup backup jobs, create other jobs etc). I also installed MS SQL Management Studio Express on my PC to access the server remotely. Connecting under SA account gives me a full vew of the database, but with very limited rights regarding to the server management. For example, I can see what names of maintanence plans but once I right click on the name it only gives me an option to REFRESH and nothing else. Also SQL Server Agent is hidden and I can not see and manage any jobs running. Please let me know how to set more rights or am I misisng something on Studio Express setup Thanks! SQL Server Management Studio Express is limited as well as SQL Server E ...Show All

  • Smart Device Development Why no managed C++?

    I am wondering what is the specific reason why there is no support for managed C++ (CLR projects) in smart device development Is it because this area is not very popular and since most .Net programmers use C# and VB, MS figured the resources are better spent elsewhere Or is there some other, technical reason I have done plenty of Win32 and MFC development and I have no problem using Win32 (or should I say, the Windows API) for lower-level stuff (inter-process and thread synchronization and communication, system and hardware access, etc.) but MFC was really only good for GUI stuff and now that we have .Net, which can do that and so much more, I just don't want to have to go back. And I'm really not looking forward to learning C# - not that ...Show All

  • Visual Studio Express Editions noob question: what do windows applications use as a db?

    sorry but I have this totally noob question. I'm completely new at writing windows applications, and want to learn. I have a book (sams learn in 24hours), and it briefly goes over ADO. My question is, besides writing to a flat txt file, what do windows applications use as a database Obviously your standard XP desktop doesn't have a db server, so how do programs save information I'm basically creating a database, but want it to be an installable program, not an MS Access db. But I'm having trouble figuring out what to do in regards to a DB. I see you can use localized db's inside VB, but I keep reading that the user would still need sqlserver express or is that wrong I was afraid that would be t ...Show All

  • .NET Development Web Form Attributes Not Passed Through to Non-IE Browsers

    Hi Folks, Here's a tweaky kink in VS.NET 2002 Pro. Somewhere in the generation of HTML to send to the browser, attributes that .NET doesn't believe other browsers can handle are removed. In particular, I have noticed this with the Web Forms Label element. On my first project, the walthrough "Creating a Web Application Using Visual C# or Visual Basic" from the bundled ondocumentation, I made a small modification by increasing the height of some labels that would receive lengthy strings. The purpose was simple: to prevent the text from overflow horizontally. Using Internet Explorer, this worked just fine. The text wrapped into the available vertical space. The problem is that when I tested the page with Firefox for compatibility, t ...Show All

  • Visual Studio Express Editions Published web displays vb code

    I can publish my 'hello world' to my personal website using Build=> Publish. Correct me if I'm wrong , I figured out that a visitor to my web needs to be pointed to the publish.htm file. When a visitor does so, he gets the splash screen & option of installing .NET After installing or if already installed, visitor sees a list of VB code rather than my simple 'hello world' form. Thanks for reply, My I.S.P. uses the Zeus platform not IIS. The only control I have is to enable / dissable Front Page Extension. Meantime I have asked my ISP about MIME types & .NET framework. Regards, Emadigon ...Show All

  • Visual C++ How to debug .dll file

    I can use the Visual studio's debugger to check the .exe file which calls the .dll, but how can I debug the .dll file The debugger can't go through those codes in .dll. Thanks! Simply Make a Break point in your Exe where you are calling your Dll method and in Debug Window put a Break Point and Go ahead and if you want you can use F11 to Enter your Dll Function .Simply put Break point in the Method and When you reach upto method use F11 to enter the method. Thanx ...Show All

  • Visual C# scope problem

    I have a piece of code which you can see below: ==================================================== if (some condition) goto l1; if (some other condition) { l1: int u = 9; } ==================================================== actually when i compile my code in vs 2005 C# I get this error : Error 4 No such label 'l1' within the scope of the goto statement But in c++ (vs 6) it has no problem. My question is how to change my code so that 'l1' become visible to goto statement. you know that i can not remove my second if, so do not recommend eliminating it I love you all, I love every one, that is my slogan ZERESHK AFAIK, you cannot jump into a scope, so there is no trick that will make y ...Show All

  • Windows Search Technologies Refresh In Internet Explorer

    Hi all, I am working in asp.net , I a m using Internet explorer 6.0 .When i use it for running my Webforms it executes well. My problem is I am saving a record and then pressing F5 key. Again the duplication of the record is saved as a new record. I don't want the record to be saved again and again while pressing F5 key. Does anybody has answers help me. Advance Thanx. Regards, C.Babu ...Show All

  • Windows Networking Development Identifying a local IP from internet

    Hello, When opening a connection to a server we provide an IP adress. How can we identify the server when it is hosted on a LAN connected to internet through a router, the same IP adress beeing splitted over a number of different machines. What if there are two servers on the same LAN with different applications May be it is not the forum to post this question but I did not found a better place. Thanks Hi Eric, If I understand you correctly, the router itself allows you to do that. The router should maintain a table where you specify a "public" port, that is a port that will be accessed from the Internet. It then allows you to associate that port with a "private" IP and port. That i ...Show All

©2008 Software Development Network