Topics
-
- 1 reply
- 1.9k views
Hi, Working on a basic 3D engine I actually have a problem using my application with some graphic cards. The engine is very basic : Using a Form to select a "game", I create a new Control, then I use it creating my D3Ddevice. I load mesh and textures from .X files. When the "game" end, I dispose all even the Control and then back to the game selection Form. On my computer it's working well, but on my "test computer" I got a " Direct3D.OutOfVideoMemoryException " after creating/disposing 5 or 6 "games" but only with specific graphic cards . I tried to look at the " Device.AvailableTextureMemory " : after each game the value is decreasing and when it's < 0 i got …
Last reply by GuaW, -
- 3 replies
- 1.6k views
hi, i want design an advanced web browser that convert all http:// to https://. i want visit images, links, etc in https:// link who can help me? first i need a sample about simple web browser. thx
Last reply by travisowens, -
-
- Administrators
- 3 replies
- 2.3k views
is there anyway to get serials for the setup app?
Last reply by Getox, -
-
- 2 replies
- 1.1k views
Hi, I have a datagrid that has column with a textbox that is used to enter a product description. There is a Hyperlink in the same column when clicked opens a pop-up window , that contains a datagrid with a list of available product descriptions. When the user selects a product description it is supposed to be returned to the textbox in the datagrid of the calling window. I have the following code in the Datagrid_SelectedIndexChanged of the pop-up window SelectedProd = dgSuppliers.SelectedItem.Cells(1).Text SelectedCost = dgSuppliers.SelectedItem.Cells(3).Text I have a HTML button in the pop_window that calls the following Javascript function function …
Last reply by cyrilgupta, -
-
- Administrators
- 3 replies
- 928 views
I found a neat little command for encrypting passwords on my forms before storing them in my databases: HashPasswordForStoringInConfigFile, and I use it as such:strPwd1 = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd1.Text, "sha1");This does a wonderful job of turning any password into a large string of garble, but how do I convert it back into something usable so that I can compare my Visitors' passwords with what I have stored? I tried using strPwd2 = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPwd2.Text, "sha1"); if (strPwd1 == strPwd2) { // do stuff } else { // puke! }to compare what they punch in with what I have in the database, but i…
Last reply by cyrilgupta, -
-
-
- *Experts*
- 5 replies
- 4.1k views
I'm having a tough time trying to add an underline border in a specific Excel Worksheet cell and need some help. With excelWorksheet 'blah, blah .Cells(row, col).Borders... it always crashes here End With Thanks, Dan
Last reply by SonicBoomAu, -
-
- 1 reply
- 1k views
Can someone direct me to a tutorial where I can set up pages for https?? I just want two pages out of the ten because if every page uses https then I get the security certificate dialog box for each page. Thank you very much.
Last reply by Nate Bross, -
-
- Administrators
- 2 replies
- 1.2k views
I hope someone on this forum is familiar with these blocks. I downloaded, read, and set up an Exception block for a web app that I'm working on that resides on a virtual server. Well the block did it's job; problem is, that for whatever reason it's trying to read and create a key to the registry on the virtual machine - which won't happen - they keep it locked down and it's not going to change. The only sink I have for error logging is Email - and it sends the email like it should. I don't know why; and what kind of stupid design you would have to have Email messages try to access or create a new key in the registry but for whatever reason it's trying to which mea…
Last reply by bri189a, -
-
- 1 reply
- 2k views
internal struct data { internal DateTime time_stamp; internal double duration_good; internal int count_good; internal int count_bad; internal double value_sum; internal double value_sum2; internal double? value_min; internal DateTime? value_min_timestamp; internal double? value_max; internal DateTime? value_max_timestamp; } The struct works fine when used but What kind of a decleration is DateTime? or double? I'm using .NET framework v2 beta. Thanks
Last reply by twistedm1nd, -
- 5 replies
- 1.1k views
My code:strSql = "INSERT INTO people (Name, Email, Username, Password, Website, Dated) " + "VALUES (\"" + strName + "\", \"" + strEmail + "\", \"" + strUserId + "\", \"" + strPassword + "\", \"" + strUrl + "\", \"" + strDate + "\");"; Command1 = new OleDbCommand(strSql, Connection1); try { Connection1.Open(); Command1.ExecuteNonQuery(); } catch (Exception ex) { lblCreateMsg.Text = "Insert Database error:<br />"; lblCreateMsg.Text += ex.Message + "<br />" + strSql; return; } finally { Connection1.Close(); }produces this SQL statement: INSERT INTO people (Name, Email, Username, Password, Website, Dated) VALUES ("John Doe", "[email="jdoe123@domain.com"]jdo…
Last reply by Diesel, -
- 2 replies
- 3.3k views
I guess the question says it all. Thanks in advanced. private void pnl_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; int[,] map = PC.currentMap; // Draw map. for (int y = 0; y < 8; y++) { for (int x = 0; x < 10; x++) { g.DrawImage(Images.imgGrass_1, x * 50, y * 50); } } // Draw player. g.DrawImage(Images.imgC1_Stand, PC.X, PC.Y); Refresh(); // or should i use invalidate? }
Last reply by Diesel, -
- 6 replies
- 3.2k views
WHat I am needing is this; I have a text file of names..... I need to search through the file find a specific name such as below then add a employee number at the end of that string as seen also below Doe, John <----- Name searched for Doe, John 12523 <------- now the text file has been changed only on this specifc line of which the user called for. NOTE: I have written the code to search and find the name in the textfile just need to know how to replace it with the new string that will contain the name and the added Employee number. vbMarKO
Last reply by Diesel, -
My comp e-Geforce 6600 GT 1.25 gb =Ram 2.4 ghz northwood When i wana play doom 3 or bf2 i got lag shot i freeze 1 sec every 5 sec plz help
Last reply by Diesel, -
-
- *Experts*
- *Gurus*
- 4 replies
- 2.2k views
Trying to invoke calls to .CHM help using Win32 API. The function is declared as follows Public Declare Function HTMLHelp Lib "HHCtrl.ocx" Alias "HtmlHelpA" _ (ByVal hWndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, _ ByVal dwData As Integer) As Long The call to this function runs straight through and returns a Windows handle reference but no Help Window is invoked. The test of the HTML API when I use the Microsoft Help Workshop picks out the targetted page fine. :confused: Any suggestions
Last reply by lu8890, -
-
-
- Leaders
- 5 replies
- 2.5k views
So I'm trying to learn how to use this and I have run across what I would think should be a basic (no pun intended) thing. Using the clickable features, I had the thing create an "About" form. Looks cool and all, and I edited the project properties so it would include all this information but it is written as a class... Public Class AboutBox1 Private Sub AboutBox1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Set the title of the form. Dim ApplicationTitle As String... blah blah Now I am still learning basic as a whole (rather getting back into this sort of thing after 10 years) and im pretty lost. I am…
Last reply by snarfblam, -
-
well, this topic maybe an old one but i guess i could ask it once more. my application creates files of a new extension name, i've created an icon for the file (of that extension name), but i don't know how to associate that. plus i also have an icon for the application itself, but i don't know how to associate that as well (like that of what you see on your desktop). thanks.
Last reply by jo0ls, -
- 2 replies
- 1.1k views
Just curious how some of you other guys handle unhandled errors in your ASP.NET applications... 1. Just throw the error and show a custom error page? Or worse the default error page? 2. Do a stack trace and put it in a log, or db, or email it? (What I do; however in release mode doesn't do a lot of good since I have no line numbers) and then do #1 or something else? 3. Catch all errors and just do nothing and leave the user thinking something was accomplished that wasn't? I hope not. 4. Redirect to a start page? Not very user friendly. Reason I ask is I'm not really happy with my methods and wanted to do some personal research from the folks that vi…
Last reply by joe_pool_is, -
-
- Leaders
- 3 replies
- 2.4k views
I want to count how many times a word exists in a .txt file. for example i want to open a .txt file and count how many times it ahs the word "Hello" in it, and then display that number in a txtbox on my form. if anyone can help please post.
Last reply by Iceplug, -
-
-
- Leaders
- 5 replies
- 1.1k views
Ok well i didnt know what to call this, Sorry. How would i check if a textbox exists and if it does then instert text into it, instead of having it try to instert text and crash?
Last reply by snarfblam, -
-
-
- Leaders
- 4 replies
- 1.6k views
How do i work the MDI Container?
Last reply by Getox, -
-
Who's Online 0 Members, 0 Anonymous, 43 Guests (See full list)
- There are no registered users currently online