Software Development Network Logo
  • Windows Vista
  • .NET Development
  • SQL Server
  • Windows Forms
  • Smart Devicet
  • SharePoint Products
  • Visual Basic
  • Visual FoxPro
  • Visual C#
  • Visual Studio
  • VS Team System
  • Visual C++
  • Audio and Video
  • Game Technologies
  • Microsoft ISV

Software Development Network >> Harry_Leboeuf's Q&A profile

Harry_Leboeuf

Member List

syhzaidi
SolveIt
leshan
Sinclair Schuller
Shaun Whyte
Alex Mujar
cmk
upgraders
redshock
dan.maniac
nepenthean
GrandpaB
Jocker23
Bogey1
m_shane_tx
Andrew Butenko
David Sutherland
Nebu Jacob
KeithGWilliams
Jasper22
Only Title

Harry_Leboeuf's Q&A profile

  • Visual Studio Express Editions saving from a textbox and opening .txt files into a textbox

    hi i'm working on an application and i'm fairly new to vb 2005 so here goes. basicly i want it so when i click a menu item it opens a SaveFileDialog where i can save whats in the textbox to a .txt file then click another button which opens a OpenFileDialog that when i open a .txt file it puts the contents in a textbox. Thanks for your help Dim reader As StreamReader = _ New StreamReader(winDir & "\system.ini") Try Me.TextBox1.Items.Clear() Do Me.TextBox1.Items.Add(reader.ReadLine) Loop Until reader.Peek = -1 Catch Me.TextBox1.Items.Add("File is empty") Finally reader.Close() End Try for the importing and Dim writer As StreamWrite ...Show All

  • Visual C++ LNK2019, the EXTERN keyword and __imp_*

    Hi everyone, for hours I've been trying to build a particular library (particularly sdl) with a dependency to a static libary which I've successfully built before (particularly libjpeg.lib). Though I have listed this lib file by "additional dependecies" in the linker options (and I verified that it's being read, renaming the file for testing purposes results in a file not found error), I'm still stuck on some unresolved external symbols. The well-known linker error message looks like >IMG_jpg.obj : error LNK2019: unresolved external symbol __imp_jpeg_std_error referenced in function IMG_InitJPG then. Dumpbin actually shows me that the symbol exists inside the library (gives me "8982 jpeg_std_error" in the symbol ...Show All

  • Windows Forms How do you save size and position of windows form?

    Hi everyone, I have a question. On almost all win. apps. when you close the form and reopen it again it remembers the size and position on the screen. Is there a property in the IDE to make your form do that or do you do that programmatically If programmatically can you maybe point me to an example Thank you very much The program does not break. It does not appear that AutoSaveSettings() is being called. In answer to your next question, yes, Save My.Settings on Shutdown is checked in the project properties. ...Show All

  • Visual Studio Express Editions Keeping existing database files while installing a new version

    I made a program for a user that uses several database files that were included with the 1st deployment. I frequently install new versions of the program but every time I do that it overwrites any changes the user has made since the last deployment. I tried changing the publish settings so it would not include the database files during publish, but then when I installed the new version of the program on the users computer and ran the program, it gave a error message saying it couldn't find the database files. How do I install new versions without overwriting the user's database changes Right-click the database file in the Solution Explorer, and select Properties. Look for the "Copy to Output Directo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to create a small 3D Universe?

    Hello everyone, I've been banging my head on the wall for about 2 months not with DirectX, and I just simply can't get anything going in the right direction . So, I've taken parts from here and parts from there and gotten to render a simple scene, with a (I don't know if this is the correct term) skybox, a basic camera, and managed to make the camera follow the mouse movement and shows the correct part of the skybox. I must say it looks incredibly ugly due to probably the pictures I used for the 6 images, but never the less, it's working . Now, I've searched and read and reread and did some more reading and still can't find a way to make the background text look "better". What would be the correct words to search for, skybox, sk ...Show All

  • Windows Live Developer Forums MS VB Run Time Error 429

    Hello List, I hope you can assist me with a problem I created. I have a problem, I think, due to having an ADCenter.dll assembly out of synch with what is found in the system registry. This is based on the help text for the ActiveX component error, my application is throwing. I had to recreate this .dll and .tlb in order to modify the password hardcoded in the below routine. Private Sub SetAuthCredentials(ByRef pAPI As AdCenterAPI) We integrate the XML response from the web service into a Excel spreadsheet, and I believe that this the problem. The VB project contains a reference to the ADCenter, and is included into our Excel macros. The error is found within the following code block Public Sub MSNRequestReport(ByVal AccountID As Long, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw without to use lock

    Hi, I would like to know, if it's possible to draw 3D graphics in DirectX without use locking vertices (IDirect3DVertexBuffer9::Lock ) I know, it's possible with Opengl . Thanks for your help I hope to create a 3D modeler, so I have to alter/add vertex often. Are there other systems to do it thanks for your answer ...Show All

  • SQL Server Verifying SQL Server Licensing

    How do I tell what SQL licensing option (processor, device CALS or user CALS) was taken when the server was installed I have taken over a SQL 2005 server and I would like to check how many CALS (if any) it is licensed for. ...Show All

  • .NET Development .NET remoting rookie. Need HELP! Unhandled Exception

    Hi, I'm just getting into .NET remoting. I've got my rmotable type,, the listener/server and the client. No compile errors, but i get this run error Unhandled Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it Server stack trace: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddre ss socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket() at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortA ndSid, Boolean openNew) at System.Runtime.Remoting ...Show All

  • Microsoft ISV Community Center Forums Using VBA macro to locate next free column on worksheet

    I need a macro that locates the next free column (i.e. has no data in cells) and then places the cursor in a cell on a designated row. Would like search to start from column B and to place the cursor on row 4 on the free column. <> My VBA code thus far: Function NewColNumber(Range1 As Range) As Integer Dim j As Integer For j = 1 To Range1.Columns.Count If Range1.Columns(j) = "" Then NewColNumber = Range1.Columns(j).Column Exit Function End If Next End Function Sub SaveCOLComments() On Error GoTo Err_Part Dim Range1 As Range Dim intNewColNumber As Integer ' ...Show All

  • Windows Forms menuStrip1.Renderer.DrawSeparator problem(error)

    Hey, I am using menuStrip1.Renderer.DrawSeparator to use my own image for the seperator for the menu strip in my program. I tryed doing this: menuStrip1.Renderer.DrawSeparator = SurfScape1.Properties. Resources .seperator; But i got an error saying: Cannot assign to 'DrawSeparator' because it is a 'method group' How do I fix this Thanks :) Hey, there is a problem...I used the 2nd way to do it... But it keeps the old divider and it only makes my divider it's original size, 1x2...Do I have to tell it to streach it And it it a .png Thanks :) ...Show All

  • Visual C# execute method from another form

    I would like to have a class with many methods used by all my project's forms. but how can access those methods available from inside of a form's class. thanks in advance, Edward well you simply create an instance of the class you wish to use, from any class (or any form, technically a form is a class file) and then execute the method however the method or property in question MUST be made public for other classes to access that method outside the class itself which has those methods. Example: //class Test public void DoTest() { //do stuff } //main form: Test theTestClass = new Test(); theTestClass.DoTest(); //will execute this method, since its accessible and exists in the ...Show All

  • Visual Studio Express Editions How to search for strings in listbox using indexOf or subString method?

    The subject says it all. Please help If there's any other method, please let me noe. Here's a brief intro about my app. Phone List Index and Searcher is the name. I have add, remove and search buttons. I have a listbox to display the list of contact names and no. ( name and no. in one string ) I have a label to display the result of the search. Current problem of my code is i can only search the first substring of a string. For example. Name in the list: Cristiano Ronaldo 9XXXXXX9 Name searched: Cristiano Result: OK Name searched: Ronaldo Result: None Name searched: onald Result: None If all this won't work, to search for the number obviously won't work. Here's the code that i use f ...Show All

  • Visual Studio 2008 (Pre-release) navigate between windows

    hi everyone, i created more than one window in a wpf project and i need to know how to navigate from one to another.. is there something like response.direct or even setVisible thank you you can do something like this Window2  win = new Window2(); win.show();  or <Hyperlink NavigateUri="Window2.xaml"> there is a section in sdk ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/86ad2143-606a-4e34-bf7e-51a2594248b8.htm ...Show All

  • .NET Development Send Mail

    Hello. I tried to send mail with NET Framework 1.1 SmtpMail class like this MailMessage Message = new MailMessage(); Message.To = "mymail@yahoo.com"; Message.From = "compname@localhost"; Message.Subject = subject; Message.Body = body; try { SmtpMail.SmtpServer = "127.0.0.1"; SmtpMail.Send(Message); } catch(System.Web.HttpException ehttp) { } and get nothing no mail no exception. I only want to send mail from my local IIS. Can You help me hith it I think your local IIS's SMTP server might not be capable to relay the mail. (I am assuming everything is working fine in your code as there is not exception, inclu ...Show All

©2008 Software Development Network