440 Posted Topics

Member Avatar for erikkl2000

Excellent clean code letscode. Good advice as well. The use of breakpoints and following through an interation of your code can provide worlds of information as to what is going on...which is often different than what you thought or intended to happen. Hope it works out for you Erik. [u][b] …

Member Avatar for Letscode
0
478
Member Avatar for c#dummie

Look into the tutorials here at Daniweb. What you are trying to do I have shown in many tutorials. [QUOTE=c#dummie]hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my …

Member Avatar for c#dummie
0
155
Member Avatar for c#dummie

Well when you installed it, was there not a prompt saying how many connections? My memory on it is limited, been awhile since I played around with this application. Here are some links to read up on it : [url="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp"] LINK 1[/url] [url="http://blogs.msdn.com/sqlexpress/"]LINK 2[/url] From what I know, it is …

Member Avatar for Paladine
0
91
Member Avatar for magusdf

Just a guess, but it sounds like the application pages are being cached. Add noCache to the page_load event, or application event in the Global.asax file. [code] Response.Cache.SetCacheability(HttpCacheability.NoCache) [/code]

Member Avatar for Paladine
0
134
Member Avatar for reyhan12

Well what I would suggest, to make things easier, SELECT the values from the DB and have them stored in a variable on the VB side, then do your calculations, and post the results back to the DB. Or even better, create a Stored Procedure which you pass the variables …

Member Avatar for Paladine
0
131
Member Avatar for npasma

Search Results don't go to another page, but rather the current page is refreshed (on postback) to display the filtered results. Of course this line would do just what you say it does: [code] 'dsSoftware = Session("dsSoftware") *** This is the line that would [/code] Because when the page is …

Member Avatar for Paladine
0
2K
Member Avatar for erikkl2000

I would recommend you do this in the application. The stored procedure can be set to return a value, and you can pass that value into a variable that you can now manipulate (add, substract, etc) as you see fit. Hope this helps

Member Avatar for Paladine
1
97
Member Avatar for Pmaster
Member Avatar for Paladine
0
89
Member Avatar for Kase

Sweet! This place is in constant flux...I love it. Nice work.... great team you have. So glad to be apart of this .... "family"?? :cool:

Member Avatar for belama
0
192
Member Avatar for HardTech

Hmm, this sounds like fun. :) Lucky you. I would love to see the code for the console & / or pseudo-code you have for the windows side. From there we can use that as a basis to create a windows versions, which by that I believe you mean a …

Member Avatar for HardTech
0
377
Member Avatar for vishnubobade

So you set the BackColor to Transparent and how is it that it doesn't work? Transparent label will appear as the same color as you form control it is placed on. The color of the form comes through the label [i]i.e.[/i] transparent. And by default a label is set to …

Member Avatar for Paladine
0
130
Member Avatar for Paladine

I have been playing around with Mozzila, and find it too be a rather nice speedy browser, but I do ASP.NET programming and such and seem to have some issues with ASP.NET pages displaying properly. It seems to be with regards to coloring, I guess ASP controls as well , …

Member Avatar for cambia
0
405
Member Avatar for MonkeyPulp

What speed is you AMD processor at? Consider Windows XP version Windows ME (not a very stable or memory useful operating system)!

Member Avatar for JANINE
0
266
Member Avatar for chiwawa10

Not entirely sure, but you could try replacing the CDBException with [b]AfxThrowDBException, [/b]which is the Global Error Exception (includes CDBException) and it may give you a more definitive message.

Member Avatar for chiwawa10
0
276
Member Avatar for blindmancries

Ok, I am not really getting your question. Your subject states [b]TextBox Help[/b] but you state in the thread that you want a [b]listbox[/b] where you can use SQL ?? Huh? Remember, we are not working on what you are, so be as specific and concise as possible to get …

Member Avatar for Paladine
0
110
Member Avatar for blindmancries

Use the SQL [b]DATEDIFF[/b] function. [i]DATEDIFF( datapart, date_expression1, date_expression2)[/i] i.e. [code] DATEDIFF (year, '1/1/1999', '1/1/2000') [b] would give [u]1[/u] as a result [/b] [/code] Hope that helps Happy coding :cool:

Member Avatar for blindmancries
0
214
Member Avatar for catnip_18
Member Avatar for Paladine
0
67
Member Avatar for jhoop2002

Have you tried creating a function that makes a call to the DB 'where UserName = ' & txtUserName.Text and return that value to a string variable you pass into the authentication.ticket method?

Member Avatar for Paladine
0
301
Member Avatar for ozeona

Umm yes. That error tells your exactly what you need to know!! *sigh*:rolleyes::rolleyes: You have not declared the [b]selectedMain[/b] as anything. :cry: :cry: It should be: [b][i]i.e.[/i] Example[/b] [code] [color=#0000ff][size=3]Dim [/size][/color][size=3]selectedMain [color=#0000ff]As String or Dim [/color]selectedMain [color=#0000ff]As Integer[/color][/size] [/code] See here for a [url="http://www.daniweb.com/tutorials/tutorial6499.html"]detailed tutorial.[/url] Hope this helps

Member Avatar for Paladine
0
643
Member Avatar for Toulinwoek

Well let me see if I can help a little. Couple of things to keep in mind. 1. Express is still in Beta (Beta2) and is building on the existing technology of .NET Framework 1.1. 2. It is for the novice programmer, not the novice pc user or those entirely …

Member Avatar for Toulinwoek
0
172
Member Avatar for shima1999

What have your tried, what are you having problems with? Have you tried google? Please, show some effort, and you might get some answers. With a little effort this is what you can find : [url="http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3664&lngWId=10"]LINK[/url]

Member Avatar for Paladine
0
125
Member Avatar for jerMAn

Try using [b] CompareTo()[/b] method. if TextBox.Text.CompareTo(rndAnser) = 0 Then ' Means that are not equal - False Value else ' True Result ( > 0 or < 0 value) End if

Member Avatar for jerMAn
0
312
Member Avatar for tayspen

Daniweb has loads of resources. You should check out the search ability on here, or look in the Code Snippets Section or Tutorial Sections for help before posting. Here is your answer : [URL=http://www.daniweb.com/code/snippet132.html]LINK[/URL] and this post was already answered here :[URL=http://www.daniweb.com/techtalkforums/showthread.php?threadid=28299]LINK to First Post[/URL] Please don't do multiple posts …

Member Avatar for Paladine
0
137
Member Avatar for tayspen

No need to apologize. Saying that: OK, you are being vague! Read what you write before posting! Are you telling us you have completed the Web Browser? YES it is done! topic would seem to imply that. OR are you asking us how to do AutoComplete in the ComboBox where …

0
170
Member Avatar for tayspen

You asked in another posting why people don't answer your questions. I replied to that, but i will also add this. Not providing us with information as to what you have tried, makes us wonder if you tried at all? But more importantly, when postings just like this: [URL=http://www.daniweb.com/code/snippet132.html]Play a …

Member Avatar for tayspen
0
158
Member Avatar for tayspen

Are you building this in Visual Studio then? You would use the Menu Creator/Editor in Visual Studio. Also here is how to create menu's at runtime as opposed to design time! [URL=http://www.c-sharpcorner.com/winforms/rmenusmb.asp]LINK[/URL]

Member Avatar for tayspen
0
154
Member Avatar for tayspen

[URL=http://www.daniweb.com/techtalkforums/thread28325.html]Answer found here![/URL]

Member Avatar for Paladine
0
113
Member Avatar for tayspen

Ok, well posting messages like this: [quote] [b]Web Browser Making Help I Have made all the buttons and all code implemented. the only thing is im not sure how to make it so u can type in your url. right now i have it in a combo box. any help …

Member Avatar for Paladine
0
392
Member Avatar for mickyboy

This is not an updated version of VB 6. Visual Basic 6 is done, everything from Microsoft standpoint is moving towards .NET. The latest being .NET 2.0 (currently non-beta is .NET 1.1) and Visual Basic Express version is a beta 2 version of an IDE for developing applications using VB.NET. …

Member Avatar for Paladine
0
157
Member Avatar for Odiny

Yes it will See here for a [URL=http://www.ocforums.com/showthread.php?t=352249]FAQ on SATA[/URL]

Member Avatar for JANINE
0
192
Member Avatar for adi75

Recheck your Connection String : pseudo_code: [code] oConn.Open "Provider=msdaora;" & _ "Data Source=MyOracleDB;" & _ "User Id=myUsername;" & _ "Password=myPassword" [/code] Check my website (in sig below) for a link to the Microsoft Oracle Provider and you can download it from [URL=http://www.microsoft.com/downloads/details.aspx?FamilyId=4F55D429-17DC-45EA-BFB3-076D1C052524&displaylang=en]here[/URL] For example You have [b]msdaora.1[/b] as your provider …

Member Avatar for Paladine
0
3K
Member Avatar for Wendydb22

OK a few things. [b]1[/b]. [color=Blue]You are good at copying and pasting. You took my code samples verbatim, but you forgot to correct the spelling mistakes. it is[/color] [color=Green]<summary>[/color] [color=Blue]not[/color] [color=Green]<sumamry>[color=Black]. [b]2[/b]. [color=Blue]If you are going to copy and paste code, be sure you understand what it is doing, and …

Member Avatar for Letscode
0
155
Member Avatar for BeeNarak

Yup! [U]**Thank you for providing the error message ***[/U] The error message tells you the exact problem you have...and what you did to cause it...sort of. Error: [b]('Login.WebForm1.DBConnection(string, string)': not all code paths return a value)[/b] [COLOR=RoyalBlue]TRANSLATED:[/COLOR][i] Not all conditions return a true or false value for the function DBConnection. …

Member Avatar for Paladine
1
172
Member Avatar for magusdf
Member Avatar for soda0091

I agree. I found this book disappointing. Lacking some serious convention and coding techniques. Very sporatic in it approach to various topics. ADO included. Good and accurate review IMHO!

Member Avatar for da_1_4u_08
1
171
Member Avatar for ozeona

Well first off you close the dtrworks and then call it two lines later. And you dim profile as nothing? [code] ... dtrWorks.Close() Dim profile profile.DataSource = dtrworks profile.DataTextField = "img_name" profile.DataTextField = "img_age" profile.DataTextField = "img_sch" [/code] profile.DataBind()

Member Avatar for Paladine
0
160
Member Avatar for kapow

Well since you haven't read the STICKY note at the top of this forum, a response in the form of a solution to your homework problem will not be posted. [URL=http://www.daniweb.com/techtalkforums/announcement58-2.html]LINK TO STICKY NOTE about homework problems[/URL] pseudo-code Class employeeClass Dim dblSalary as Double Dim strDesc as String .... End …

Member Avatar for npasma
0
168
Member Avatar for Paladine

I am just going to throw this out here and see what responses I get. Is there any tutorials any of our members would like me to post in the .NET Tutorial Section? Login (done) Registration (done) SQL vs Access DB backend (done) I was thinking of possibly a datagrid …

Member Avatar for Paladine
0
86
Member Avatar for Paladine

Ok folks how does one do this? Meaning, how do you ever get things placed in the right spot, aligned, and the get the feel right on a web page design like this? Do you have to been an "artist" or use a fancy web design tool? [IMG]http://www3.telus.net/public/tmlohnes/IP0002BR.jpg[/IMG] or even …

Member Avatar for bwest
0
1K
Member Avatar for softmind82

Yes, check the tutorials here at Daniweb on ASP.Net and access SQL, the principle is essential the same in VB.Net apps (code differes a little). Where the database is located is of little concern, as long as you have access/rights/and its ip address all should be ok.

Member Avatar for Paladine
0
93
Member Avatar for Becky123

Well I would start here as a basis --> [url="http://support.microsoft.com/default.aspx?scid=kb;en-us;311731"][size=3]LINK[/size][/url] MSDN & Google are friends to Programmers!!:p [QUOTE=Becky123]I have an existing Excel document that I would like to display (read-only) in a C# .NET application (.NET 2003). I need to be able to display it on the windows form itself …

Member Avatar for Paladine
0
75
Member Avatar for erikkl2000

Ok... [code] SELECT CompanyName, CompanyID, ProductCategoryName, ProductID FROM Company C JOIN Product P ON C.CompanyId = P.CompanyId JOIN Category CA ON CA.ProductId = P.ProductID WHERE C.CompanyID = 16 AND P.ProductID = 20 ORDER BY C.CompanyName [/code] [i][b](16 and 20 where just arbitrary numbers I used)[/b][/i] That should work. Now saying …

Member Avatar for Paladine
0
123
Member Avatar for Robert Walker

Here is an awesome site for Connection Strings (under Technology) [url="http://www.carlprothman.net/"]MVP[/url] Here is the [b]ODBC Method[/b]: [code] [color=#008000][SIZE=3]' VB.NET [/SIZE][/COLOR][color=#0000ff][SIZE=3]Imports [/SIZE][/COLOR][SIZE=3]System.Data.Odbc ... [color=#0000ff]Dim [/COLOR]oODBCConnection [color=#0000ff]As [/COLOR]OdbcConnection [color=#0000ff]Dim [/COLOR]sConnString [color=#0000ff]As String [/COLOR]= _ "Driver={Microsoft ODBC for Oracle};" & _ "Server=OracleServer.world;" & _ "Uid=myUsername;" & _ "Pwd=myPassword" oODBCConnection = [color=#0000ff]New [/COLOR]Odbc.OdbcConnection(sConnString) oODBCConnection.Open()[/SIZE] …

Member Avatar for Paladine
0
508
Member Avatar for khoobl

Pretty broad, and large topic to provide information on. What have you got for code/tips already (not in detail). What instal software are you using (Wise Solutions Installer? Install Shield?) or do you plan to do this solely through VB.Net with some sort of MSI instal file? [QUOTE=khoobl]I would like …

Member Avatar for cpopham
0
201
Member Avatar for dhiraj.cool2k4
Re: Help

Depends on your confidence, and what you want to move to. .NET is the hot thing, and if you are a VB developer you will come to appreciate the growth Visual Basic has taken to becoming a true OOP language with .NET. Transitional, .NET maybe easier, but depends on who …

Member Avatar for Paladine
0
92
Member Avatar for snufse

Well provide the error message and we may be able to provide a solution. :?: [I]"Remember we are not working on what you are working on. So when you ask for help you should be concise, but explicit about what it is you are trying to do, the code you …

Member Avatar for Paladine
0
148
Member Avatar for DJ1UK

You have missed the Registration of the dll line of code for the page to grab that dll. <% @.... %> The books states it. Double check your code. My book is at home so I can't give you the exact code right off the top of my head. :cool: …

Member Avatar for Paladine
0
588
Member Avatar for Horizon

Yes, sorry to say but you are not being very clear in what you are wanting to do. Have you successfully connected to the SQL Server DB? You can use a Container to the specific Value you want to associate with the LABEL Object. Below is a sample to this …

Member Avatar for Paladine
0
154
Member Avatar for abhishekj

SELECT symbol, lastprice, time FROM table1 INNER JOIN table2 ON table1.symbol = table2.symbol WHERE table2.time < (table2.time - 5min) Would probably give you the result. Hope this helps :cool: [QUOTE=abhishekj]i have two tables table1 has the folowing fields lastprice symbol time table2 has the same fields now table1 stores only …

Member Avatar for pclfw
0
130
Member Avatar for erikkl2000

Here is a good article reviewing the use of HttpContext [url="http://www.odetocode.com/Articles/112.aspx"]LINK[/url] another [url="http://www.dotnet247.com/247reference/a.aspx?u=http://msdn.microsoft.com/library/en-us/dnaspnet/html/asp01242002.asp?frame=true.?frame=true"]LINK 2[/url] and an excellent article from those guys from Rolla! [url="http://aspnet.4guysfromrolla.com/articles/060904-1.aspx"]Rolla[/url] Hope this helps :cool: [QUOTE=erikkl2000]Hello All, :rolleyes: I found this code from and artical posted back in may and i had a newbie question that i …

Member Avatar for erikkl2000
0
437

The End.