General Information On 2 Subjects?

May 13, 2011

This is going out to the forum at large. Where can I find the most complete explanation of the use of the DataGridView control in VB.Net? Any publication, or on-line reference except MSDN, please. I can never make heads or tales of MSDN.

Likewise, a complete tutorial on the usage of XML within the .Net Framework would be appreciated. Same qualifications as above.

View 8 Replies


ADVERTISEMENT

Highlight In Datagrid The Subjects That Has Conflicts To Other Rows?

Feb 15, 2012

I wanted to identify the conflicted schedule of each of the section. If there's conflict then the two or more subjects that are conflict will be colored to make then noticeable. They are in datagridview. I don't know what's wrong but there are some that although they are conflict they are not highlighted. Here's my code:

For item As Integer = 0 To DataGridClass.RowCount - 1
For item2 As Integer = 0 To DataGridClass.RowCount - 1
If DataGridClass.Rows(item).Cells(ClassID).Value <> DataGridClass.Rows(item2).Cells(ClassID).Value And

[code]....

View 4 Replies

VS 2005 Display Only The Students Records With A Grade 85 And Above In All Subjects??

Jul 30, 2011

I have the following fields in my table:

English
Math
Science
Computer

[code].....

How do I get to display only the students records with a grade 85 and above in all subjects?

View 14 Replies

NET 8 - Add General Expressions?

Apr 25, 2012

I wish to incorporate general expressions in my Visual Basic work.Other than the basic inputting "Imports System.Text.RegularExpressions", I have no idea how to do put general expressions in my VB project.However, I can create the expressions (so, all is not lost).

View 1 Replies

Change Cursor In General?

Jul 29, 2011

I am making a maze game and I want the cursor to be a different cursor that I made but I'm not sure how to change the cursor without having it hovering over a label or button.

View 7 Replies

General Property Of A Program?

Aug 16, 2009

i have a question in VB6 you can make a program to start from a module but in .net i can make it only if i choise it as console application. my question is how can i make it if it is posible. i make in module sub main

Module mdlMainBegin
Public Structure FInfo
Dim InitPage As String
Dim HistoryFilPath As String

[code]....

View 5 Replies

IDE :: How To Make The General Deployment

Jun 13, 2009

i successfully deployed one application but some small small issues coming in that...Here i want clarify some common doubts in redistributable components...I created one windows application in VS 2008 with C# as language and SQLServer 2005. I created msi setup application in vs 2008 itself. My application includes 2 third party tools. One is for skin and another is for capture images from different devices like camera, web cam etc...Database i deployed is sqlexpress 2005

Generally i added the following prerequisites:

1. Dot Net Framework 3.5

2. Windows Installer 3.1

3. Crystal Report basic runtime for vs 2008 (x86, x64)

4. SQL Server 2005 Express SP2 (x86)

For all these i have no doubts except 4th one.Other than these prerequisistes my first third party tool(for skin) include Visual C++ 2005 Runtime. For this i tried Visual C++ Runtime included in the VS 2008 prerequisites but not worked. So i downloaded Visual C++ 2005 for x86 and x64 and create the custom prerequisites using "Bootstrapper Manifest Generator" and its working successfully For the second third party ocx component (for live video from devices) they telling the following compenents other than ocx component.

a. MFC Libraries (gdiplus.dll, msvcrt.dll, mfc42.dll)

b. DirectX 9 runtime or better

c. Windows Media format runtime files (they gave wmfdist.exe)

I told the system OS requirement is Windows XP SP2 or Vista. Architecture 32 bit and 64 bit(with conditions)

1. I didnt include the 3 MFC Libraries (gdiplus.dll, msvcrt.dll, mfc42.dll) in my setup application Yes i not included the these dlls. But i didnt get any error up to now. I think XP SP2 included these files. Any problem raises in vista or somthing other machines if i leave these files or these files updated when i installed that Visual C++ 2005 runtime? Because when i search MFC libraries i got the result as visual c++ runtime. Please clear about this and tell the i want to include or not?

2. I didn't include DirectX 9 runtime I dont have any common doubt in this because mostly sp2 inludes directX only. But if i inluded these can you give the latest and best redistribution component download link? I dont know is this component differe 32 bit or 64bit?

3. I didnt include Windows Media format runtime files This also i dint included but not got any issues. But some customer told that grains like coming in the live screen. Is this because of unavailability of these component? For include this i didnt got the download link. But i download the sdk from the following link...

[URL]

I installed and i got the same wmfdist.exe as the third party gave. My doubt here is is this support for vista also .. Any incompatabiliy for 64 bit.? if then can anyone give the 64 bit redistribtuion component download link also.

4. SQL Express 2005 Express 64Bit As this application want to support 64 bit also...i want to include 64 bit express edition. But i think the 64 bit support is express advanced version only. Here my problem is if i download tht i cant create custom prerequisites for sql express because i am not well in this.

View 2 Replies

Some General Guidelines Using This Forum?

Oct 15, 2007

We are excited to support all your Innovate On Office support questions and inquiriesthe following guidelines before posting your inquiry to this forum.Please expect up to 24hrs for initial response from an engineer after posting an inquiry to this forumPlease expect to receive status about every three days of status on your question/inquiry to this forum

View 14 Replies

Threadpool And Threading In General?

Jun 5, 2010

whipped up this code real quick which uses a ThreadPool on Form Load to iterate through my subnet and tell me if there's a device communicating at each IP address.

some questions: Why am I able to update BOTH my label at the top AND the listbox, but I'm only using an .Invoke on the Listbox?How can I know how many threads are currently being used while that is executing?

What does the SyncLock do?I'm aware some people don't like the use of Application.DoEvents(). Is it ok to be using it in this instance or is there a better practice?For those wanting to try it out, drag a Label and a Listbox to a new form. Label is called "currentIPTextbox", Listbox is default name.

[Code]...

View 14 Replies

.net - Child Type In General Function?

Apr 15, 2010

I have a MustInherit Parent class with two Child classes which Inherit from the Parent.How can I use (or Cast) Me in a Parent function as the the child type of that instance?EDIT: My actual goal is to be able to serialize (BinaryFormatter.Serialize(Stream, Object)) either of my child classes. However, "repeating the code" in each child "seems" wrong.

EDIT2: This is my Serialize function. Where should I implement this function? Copying and pasting to each child doesn't seem right, but casting the parent to a child doesn't seem right either.

[Code]...

View 1 Replies

Copy Protection For General Files

Apr 14, 2012

I'm making a program to protect custom game files from being copied as best I can, however there are a couple things I need to account for. Some of them I have, others, I have not been able to find information on. When the files are not in use, I have them fully encrypted and hidden from the lay user through a bunch of other tricks (+s attribute, for example). However, I would also like to prevent copying these files while they are being used by the game - obviously I cannot have them encrypted while the game is attempting to read from them.

This opens up a hole, which I have also tried to deal with, but I know my attempts in this regard are less than thorough:
Stop several known well-known copy programs from operating during operation, that being Windows Explorer, Teracopy, and cmd

Now, the other solution I was thinking of was a filesystemwatcher object scanning the better part of the computer for any copies of these files located outside of the "OK" directory, but I'm a bit skeptical as to whether or not this would be very efficient. Any ways to make copying these files difficult without rendering them unusable to the program.

View 1 Replies

DB/Reporting :: General Approach To A Db Project?

Sep 8, 2010

DB/Reporting :: General approach to a db project

View 2 Replies

General Info On The INTERFACE Keyword?

Jan 5, 2010

If you have a separately declared PUBLIC INTERFACE and then IMPLEMENT that INTERFACE.

1) My general question: Is an INTERFACE simply a means to ensure that a CLASS implements all the methods defined in an interface and to ensure that they can only be implemented once?

I have noticed that a method that IMPLEMENTS an INTERFACE method can still have overloads though. :-)

If so, when combined with INHERITANCE though I believe I can finally see the use for defining an INTERFACE!!

2) Do you have to use an interface when linking to a VB6 project ( is this via Component Object Model or COM ) and if so, do any attibutes need to be applied when doing so?

Here is a code snippet.

creating a PUBLIC INTERFACE outside of any CLASS. I guess this would not normally be done from an OOP point of view?

Public Class ExampleClass
Implements MyActions
Implements Whatever

[Code]....

View 5 Replies

General Ledger Style Listview?

Jan 12, 2010

I am using VB express 2008.How I can create a General Ledger Style Listview with alternating colourd rows.

View 4 Replies

General Regual Expression For Fourmla

Aug 9, 2009

I have created financial program but i need general regular expression for the formula which I will create it.

View 4 Replies

GNU Lesser General Public License

Mar 28, 2012

I plan to use iTextSharp 4.04.0 for my program for creating pdf on the fly.My find out that iTextSharp 4.04.0 is release under license GNU Lesser General Public License (LGPL).I have searched online but can't really undestand what GNU Lesser General Public License (LGPL) is.My question is does the dll which released under GNU Lesser General Public License (LGPL) is free to use? Free to use by the company?

View 1 Replies

ListView Items Add And General Coding

Mar 7, 2009

url...I'm working on a simple MP3 player and are stucked on some Treview.Click and Listview.Items.Add problems which I cant seem to get past.What I'm trying to do is first with a button launch a FolderDialog to get folder path, when this is done I add the directories and subdirectories to tvFolders1 (Treview)For the whole procedure for this see classes LoadFolderTree(), LoadDir() and tvFolders1_AfterExpand.This seems to work just fine and no problems as far as I can see The we add a feature where user click on the Treeview (tvFolders1) and we are supposed to do the following: On tvFolders1_AfterSelect (when the user actually select something)I am the trying to add Items and subitems to the lvFiles control (Listview)[code]Now adding items and subbitems goes just fine if I:

1. Do not clear the ListView lvFiles in the Class tvFolders1_AfterSelect But I need that, I want the listview to be cleared before adding new items/subitems or we end up with an enormous list

2. Only add more items to the ListView without doing anything more

If I clear the ListView lvFiles in the class tvFolders1_AfterSelect the application will simply freeze and crash after clicking on any item in TreeView tvFolders1So basically somewhere in my code there is something causing this and that's were I need help, I where hoping someone could figure out what I need to do..I have pasted the whole code for that form because I suspect the problems are not in the adding/clicking on items but somewhere else, I do not know though.There is also a "bug/another big problem" in the adding of items/subitems to the lvFiles ListView and that is that the first mp3 file only gets added with file/path and not ID3.

View 3 Replies

Namespace / Project Design General

May 14, 2009

I'm trying to make more use of namespaces and giving my project a more rigorous design, as it has been getting pretty messy.I was wondering,before I get started, is there a standard convention for the names and organization of namespaces?For instance,for a 3-tier program, should there always be a "UI", "Business",and "DataAccess" namespace (and is this what they're typically called)?Or should I just organize the project as I see fit?

View 2 Replies

VS 2008 General Approach To Databases?

Jan 20, 2010

I am often asked to create a very simple database front-end for friends or family, and the structure of the database (and application) is usually very similar.Right now I am always creating a class that handles all database interactions with some shared functions. For example, there's a function to run a general query and return a table, a function to save/load various items (depending on the application of course). The point is: the code is nearly always the same except for some slight variations.

View 5 Replies

Create A General Usable Method In A Class?

Oct 12, 2010

I want to create some reusable code in my forms.The idea is that a class is growing when more subroutines are added so, I need to store the finished subs somewhere to make place for others, this way I don't lose myself searching through the entire class

View 4 Replies

Perform General Event For Specific Item

Nov 14, 2010

I have a feature in my program that allows the user to have multiple tabs, each having its own rich text box. Is there a way that I can only perform an event, such as "Text Changed", for the selected tab's rich text box, or will everything still work (the way I want) if I give them all the same name?

View 12 Replies

General Exception Handling Without Global.asax File?

Mar 21, 2012

I was wondering if there was a way to catch all unhandled exceptions in a visual studio project. My project does not have any files named global or global.asax so I was wondering if there was some other way to catch any and all unhandled exceptions? So far I've tried to put exception handling around specific blocks of code, but it doesn't have any effect.

View 3 Replies

VB 2010 But Goes To Really Vague General Visual Studio Stuff?

Aug 8, 2010

In previous versions of VB Express, pressing F1 would get help related to specific highlighted terms,to Visual Basic. But in VB Express 2010 I'm finding it inevitably goes to some vague Visual Studio 2010 page.

Is there a setting I can change to get it to behave the useful way that previous versions did?Denise Moore ---- 2 HP a1730n Pavillion Desktops, AMD 64 X 2 5000+/5600+, 3072/2048 800MHz DDR2, 4 GB ReadyBoost, 320 GB HDD, Nvidia 6150LE, D-Link DGE-530T NIC, D-Link Green DGS-1005B router, VersaExpress ADSL, Win 7 Home Premium

View 4 Replies

VS 2008 General Syntax Question: Hiding Properties?

Apr 21, 2011

I have a (pretty large, 1000 lines or so) class with a lot of properties, both regular,overridden and overloadd properties. I currently add this in front of the property to hide it from the designer:<Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>This is all great, but it adds quite some lines to my project. How can I specify, for my class or project, that it should add the above settings to all?Or even better: set the above settings for a block of code instead of a single property.

View 17 Replies

Making A General Functions Class Library That Will Be Used In Several Applications And Asp Pages?

Jul 12, 2009

making a general functions class library that will be used in several applications and asp pages, sometimes running at the same time.I've looked at a lot of samples on the web and they all show you to create an instance of the classlibrary namespace or the classlibrary class.

IE.
dim obj2 as new mycompany.mynamespace.myclass
dim n2 as integer
n2 = obj2.somefunction(...)

What I did was create my class library and put a class in it and declared a function as sharred, then created my dll.I don't have to create an instance of it and I can use it like the net framework by just coding

n2 = mycompany.mynamespace.myclass.somefunction(...).

The net framework does this, I mean once I imports it I don't have to make an instance of it in every function.All the samples I've seen about class libraries do not use the shared keyword.

View 1 Replies

Create A Module That Will Contain All General SQL Functionality Like Connect - Disconnect And Execute A Sql Query

Sep 8, 2010

I'm fairly new to VB.NET and I'm looking to create a module that will contain all general SQL functionality like connect, disconnect and execute a sql query etc. I think I'm almost there but the code keeps bombing in one place. Can anyone see what is wrong with the following code?

[Code]...

View 1 Replies

Interface And Graphics :: Get The General Color Based On What Is Returned From Bitmap.GetPixel()?

Aug 28, 2009

how can i get the general color based on what is returned from Bitmap.GetPixel()? Like i want all shades of blue to just be blue, and so on

View 10 Replies

VS 2008 General Security - Implementing A Piece Of Software I've Created Into A New Environment

Mar 26, 2011

I'm looking at implementing a piece of software I've created into a new environment. It is currently accessed via network share by users who have full administrative permissions on their user accounts. These same users will have their accounts locked down excessively. I am wanting to consider now before any changes have been made, any code changes I will need to make as my application makes use of a lot of features that admin users take for granted such as registry editing. My program is running through the .net 3.5 framework and is being accessed on XP machines.

View 5 Replies

Sending Multi-threaded SendEmail Request Returns General Mapi Failure

Mar 5, 2009

I'm using the MAPI code by Dave Brooks.I am attempting to programatically send out a Crystal Report that is generated.When I run through the code without threading everything runs fine. The problem is when I use threading I get the return error "General MAPI failure [2]".I have never used threading before and understand that there are dangers involved. Can anyone provide any insight into this issue? NOTE: I've removed exception handling to make the code clearer.[code]

View 1 Replies

OLEDB Connection - Pull Information From Three Different Database Tables And Compiling The Information Onto One Screen

Jun 9, 2011

The program is currently trying to pull information from three different database tables and compiling the information onto one screen, to do this i am using three different connections and a function to handle the data at each stage. The issue is as my code hits PageLoadStage of "2" and runs the QueryDatabase() Function i am encountering an error of: "OleDB exception unhandled: No value given for one or more of the required parameters." This occurs on line 15 of the first code snippet. Can anyone explain this and/or identify any code issues if that is the cause.

[Code]...

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved