|
I am using VS .NET 2003 with add-in crystal report. I have to create a cross report with summarised fields as different columns. But this facility is not getting in add-in crystal report, possible in Crystal Report XI developer edition.
So, <b>How can i integrate Crystal report XI with VS .NET 2003 ?</b>rr : dll s not found when add in cr removes, which dll i have to refer
: report created in higher ver do not allow to run in VS.NET 2003
Plz help me ASAP !!!
Jeneesh k v
Programmer, NIC
|
|
|
|
|
There are 12 subkeys in a particular key.Instead of writing each subkey name , is there any way to list all the subkeys using loops or any other way?
|
|
|
|
|
I want to apply commit transaction. I have created BLL.
In the case of Business layer logic
While update / insert / delete operation.
If I do direct connection to oracle with out crating BLL then I have command.
Try
..
…
SqlTransaction mytrans = myConnection.BeginTransaction();
…
myTrans.Commit;
Catch ex as Exception
'Something went wrong, so rollback the transaction
myTrans.Rollback();
but how to do for BLL.
vijaya
vijaya
|
|
|
|
|
|
Hello Frnds,
I have a problem i want to "log OFF" my pc using vb.net and if there is any other window open then they should also get close..
if any one have idea then please telll........
Thankx and regards,
koolprasad2003
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
This code is just an Example. And try to Change your code as per your Machine Specification.
Const WM_ENDSESSION As Integer = &H16<br />
<br />
Dim osexit As Boolean = False<br />
<br />
<br />
<br />
Protected Overrides Sub WndProc(ByRef e As Message)<br />
<br />
If (e.Msg = WM_ENDSESSION) Then<br />
<br />
osexit = True<br />
<br />
Application.Exit()<br />
<br />
End If<br />
<br />
MyBaseProc(e)<br />
<br />
End Sub<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing<br />
<br />
If osexit Then<br />
<br />
'Not doing anything will let the application close<br />
<br />
Else<br />
<br />
e.Cancel = True 'This will cause the application to ignore the close & continue running<br />
<br />
Me.WindowState = FormWindowState.Minimized 'Minimize the Window<br />
<br />
End If<br />
<br />
End Sub <br />
<br />
Regards,
Satips.
|
|
|
|
|
Hi Satips,
I am using the following chunk of code , which u provided.
Const WM_ENDSESSION As Integer = &H16<br />
Dim osexit As Boolean = False<br />
Protected Overrides Sub WndProc(ByRef e As Message)<br />
If (e.Msg = WM_ENDSESSION) Then<br />
osexit = True<br />
Application.Exit()<br />
End If<br />
MyBaseProc(e)<br />
End Sub
i had two windows opened with my project in which i am testing ur code(two internet explorer windows)
Control first goes to this function even before the form load.
This function executes consecutively three times
Now the problem is
After comleting the execution three times , it gives the following error
Error creating the window Handle.
So Where the problem can be ?
|
|
|
|
|
”Error Creating Window Handle” is a Win32 error, therefore the first thing you should look at the code that did any thing with Unmanaged code.
I think you will simply run out of window handles. How many controls are you using in your Application ?
Regards,
Satips.
|
|
|
|
|
Thankx, it helps me a lot
- koolprasad2006
Life is swing with you..Enjoy..
|
|
|
|
|
Glad to Help Always.
Regards,
Satips.
|
|
|
|
|
Hi,
I have Visual Studio 2005....all fired up to learn programming (I know nothing about code) and now know all the details of the IDE and how to use it. Can someone suggest a good book, tutorial or otherwise to learn to code in VB?....I got a book from Sams Publishing (which by the way I would never buy from again, they are a disgrace and the book was worse!) and it seems the whole 500 odd pages was about creating a crappy picture viewer which did help a little but a lot of wasted hours (craploads more than the 24 hours suggested by the INAPTLY named book...although it did take more than 24 hours to get the drm to work and so far it has taken in excess of 6 weeks to get an answer from sams OR the author..still no answer from either despite a number of progressively angrier emails).
So any suggestions would be great, Im happy to pay as long as its not a book from Sams...just looking for value for money. By the way it seems to be ridiculous to suggest that you could learn something like this in 24 hours and I would suggest that real programmers should ostricise these idiots for suggesting that something that has taken them years to learn and has REAL value could be learnt by anyone prepared to fork out 40 odd bucks for a crappy book and learn it in 24 hours! Just my 2 cents worth!
-- modified at 2:51 Saturday 2nd June, 2007
|
|
|
|
|
You could also look around at the articles on this site. There are many that are good for beginners.
|
|
|
|
|
The problem you will have is that a lot of VB books in particular, teach you how to play with the forms designer, instead of writing code. I'd look on Amazon, and try to find a beginner book that teaches the language, instead of how to use the mouse. They let you look in books, so you can see the contents, etc.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: The problem you will have is that a lot of VB books in particular, teach you how to play with the forms designer, instead of writing code
Yes, and I guess this is what the book eventually did for me. I can get round the IDE in all its gory detail without a problem but so many questions have been raised now that I have begun to look at these boards,I am now even more a newbie than the moment I arrived.
If you could forgive the obvious TOTAL lack of knowledge and perhaps even the lack of correct research I would like to ask a question from those prepared to answer reasonably. For those who just wish to tell me Im a "noob" and to go away ....Ive already been told so dont bother..just move on to the next post!
Now I sit here with my copy of VS2005 , having worked through and understand how to use the program and ready to go. I have NO IDEA what it is I should be learning, and how I should be learnig it. The questions raised in my mind now are What is the difference between VB and VB.NET and ASP and ASP.NET and are they all languages and what if I learn one only to find that I should have gone another track. All of these questions take me to the point of not even knowing what questions to ask and where to start looking.
I just wanna learn to code, in a language that I can take to as easily as possible for an old dog. I am prepared to do the hours but I want to be sure those hours are spent on something worthwhile..So I thought VB was the way to go....
Perhaps the questions dont make sense cos none of it makes any sense to me but it seems pretty hard to get an answer.
Heres a deal...if someone could clear up the above questions in a way that any old bugger could understand and direct me as to where to start to learn to code I promise I will never come back to abuse you if I find down the track I want to head down another track....
|
|
|
|
|
idyot wrote: What is the difference between VB and VB.NET and ASP and ASP.NET and are they all languages and what if I learn one only to find that I should have gone another track
These are easily answered with google - VB.NET 2005 is the latest version of VB. There's no VB you can learn with VS2005, but VB 2005.
ASP is totally different, it's what ASP.NET replaced, and it really sucked. It did not use C# or VB.NET.
idyot wrote: So I thought VB was the way to go....
VB.NET is as powerful as C# ( usually ) and has a more English like syntax. It may well be the right way to go for you.
idyot wrote: Heres a deal...if someone could clear up the above questions in a way that any old bugger could understand and direct me as to where to start to learn to code I promise I will never come back to abuse you if I find down the track I want to head down another track....
You know, we'd really prefer that you became part of our community.
I've looked on Amazon and I can't find a single book that teaches VB.NET instead of teaching the forms designer. I know there are plenty of books that teach the C# language, I am not sure what this means. Perhaps the trick is to use MSDN for help, and ask questions here as you get stuck, and set yuorself some basic projects to start with ( my first program was a command line calculator ).
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: These are easily answered with google - VB.NET 2005 is the latest version of VB
yeah I tried the question in google and was referred a whole lot of stuff I just didnt get including talking about VB7 which I hadnt heard of before!! So it wasnt really good info for beginners but I take your point
So VB.NET it is...and by the sound of it in another post SQL (sounding complicated)
To be part of the community you have to know what kinds of questions to ask and unfortunately my confusion has led me to the point of not even knowing that!!! My point being that I dont wanna hold anyone to a guarantee that their suggestion as to which route to take is right or wrong.
So, now you have given your suggestion AND answered the vb/vb.net question I can at least head down a path with some comfort I am perhaps on the right track
Christian Graus wrote: I've looked on Amazon and I can't find a single book that teaches VB.NET instead of teaching the forms designer
hehe, this is what Ive found....dam I can design a very nice form with heaps of controls, all looks great but it just wont do anything!
So thanks for the reply....Im gonna try the O'reilly Book Programming Visual Basic 2005 first, it seems ok in the reviews, was suggested by another post on this forum and ISNT from Sam's! so Im happy
Cheers
|
|
|
|
|
idyot wrote: So it wasnt really good info for beginners but I take your point
VB6 was a different basic language, and Microsoft moved to VB.NET ( which is VB7 ), in 2002. There was Visual studio 2002, 2003, and 2005, but 2003 was 7.1, and .NET 1.1. 2005 is .NET 2.0, and, I guess, VB8. So, it's a little convuluted, but it doesn't matter, 2005 is what you want to learn.
idyot wrote: and by the sound of it in another post SQL (sounding complicated)
SQL is a simple enough language, it's only use is to provide access to data in databases. Learn VB.NET first, then move on to SQL, but SQL is a lot easier ( because it does less )
idyot wrote: To be part of the community you have to know what kinds of questions to ask and unfortunately my confusion has led me to the point of not even knowing that!!!
Generally speaking, any question that starts with 'I want to know how to do x, and these are the things I've tried, but instead of doing what I hoped, I got this error/this happened', are always well recieved. Questions like 'I wrote some code and it doesn't work - why', or 'I need the code to do x' are not, because they don't show any indication that the person asking has done anything to try and solve their own problem.
idyot wrote: My point being that I dont wanna hold anyone to a guarantee that their suggestion as to which route to take is right or wrong.
Well, that's the nature of online forums. I correct advice that's well meaning but wrong, all the time. I also see a lot of smart, committed people offering very good advice here.
idyot wrote: So thanks for the reply....Im gonna try the O'reilly Book Programming Visual Basic 2005 first, it seems ok in the reviews, was suggested by another post on this forum and ISNT from Sam's! so Im happy
O Reilly books are good, and Jesse Liberty is a good writer, but I thought that book seems forms oriented, so I didn't recommend it. It could well be good tho, I can see that fewer and fewer books have the guts to teach command line programming first, they just wouldn't sell.
Good luck !!
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
(1) Beginning Web Programming using VB.NET and Visual Studio .NET by by Daniel Cazzulino.
(2) An Introduction to Object-Oriented Programming with Visual Basic .NET by Dan Clark.
(3)Learning Visual Basic.NET Through Applications by Clayton Crooks II.
(4) An Introduction to Programming with Visual Basic .Net by David I. Schneider.
(5) Introduction to Visual Basic Using .NET by Robert J. Oberg, Dana L. Wyatt
Hope these books will help you.
But Sams Teach Yourself Visual Basic .NET in 21 Days and Sams Teach Yourself More Visual Basic .NET in 21 Days by Duncan Mackenzie, Kent Sharkey by Lowell Mauer is just the old story.i won't prefer that book for VB.Net.
Regards,
Satips.
|
|
|
|
|
Hi,
I am using VS2005 and when I was trying to put a template Item to a data grid I am getting this error " Option Strict On disallows late binding " Not sure what it means can some one help me in fixing this error.
The code I used was
<asp:templatecolumn headertext="Status">
<itemtemplate>
<asp:label id="lblLabelName" runat="server" text="<%# Container.DataItem("AwardDesc") %>">
Thanks,
Uday
Uday
|
|
|
|
|
You need to re-post your code with the
"Ignore HTML tags in this message" checked so your code shows up.
Thanks,
Ben
|
|
|
|
|
What is three tier architecture in VB.net
|
|
|
|
|
|
Three Tier Architecture were:
User tier – This tier presents the user interface (UI) for the application, displays data and collects user input. This tier also sends requests for data to the next tier. This tier is often known as the presentation layer.
Business tier – This tier incorporates the business rules for the application. This middle tier receives requests for data from the user tier, evaluates them against the business rules and passes them on to the data tier. It then receives data from the data tier and passes this back to the user tier. This tier is also known as the business logic layer.
Data tier – This tier communicates directly with the data store (SQL Server database, other type of database such as Oracle, Exchange data store, Excel workbook, etc.) and passes data between the data store and the business tier. This tier is also known as the data layer.
Regards,
Satips.
|
|
|
|
|
three tier architecture has nothing to do with VB.NET, it's a general principle of software design. If you google for n tier, you might get more hits, that's what it's generally referred to. Drop VB.NET from your search, it's irrelevant.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
what's the source code for shutting my pc using the vb?
or opening my dvdr?
thankz,
|
|
|
|
|