440 Posted Topics
Re: 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] … | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: My question would be why would you want to do this? Why not work completely in C++ or C# ? | |
Re: 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: | |
Re: 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 … | |
Re: 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 … | |
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 , … | |
Re: What speed is you AMD processor at? Consider Windows XP version Windows ME (not a very stable or memory useful operating system)! | |
Re: 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. | |
Re: 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 … | |
Re: 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: | |
Re: Should be able to disable it in the Bios? What does the manual say? | |
Re: 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? | |
Re: 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 | |
Re: 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 … | |
Re: 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] | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: [URL=http://www.daniweb.com/techtalkforums/thread28325.html]Answer found here![/URL] | |
Re: 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 … | |
Re: 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. … | |
Re: Yes it will See here for a [URL=http://www.ocforums.com/showthread.php?t=352249]FAQ on SATA[/URL] | |
Re: 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 … | |
Re: 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 … | |
Re: 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. … | |
Re: I will see what I can come up with MagusDF | |
Re: 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! | |
Re: 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() | |
Re: 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 … | |
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 … | |
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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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] … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
![]() | Re: 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: … |
Re: 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 … | |
Re: 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 … | |
Re: 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 … |
The End.