Topics
-
- 0 replies
- 769 views
am pretty new to the vb world. I have a datagrid with a fixed column width and I am trying to resize the row height in order to do a text wrap. I was wondering how i would be able to do this
Last reply by jsiby, -
- 2 replies
- 2.1k views
A SQL Server database stores a bit value as 1 or 0. Visual Basic stores true false as -1 and 0. As far as I can tell every time you read a bit column you are going to have to multiple it by -1 in order to test for true/false in VB? Did I get this right or is there an easier way (without storing the value as an integer in sql server) ? Thanks, Patrick
Last reply by penfold69, -
- 1 reply
- 1.3k views
Can somebody please tell me how to load mp3 into streaming buffer? I have DirectX 9 SDK (using managed) and Lame decoder.
Last reply by akuehn3000, -
- 2 replies
- 1.2k views
Hi I am developing an ADO.NET Application that binds a hypothetical school database to the user interface.All tables contain primary keys.In the interface the user may add new records.I used my own logic to create a unique primary key. Note:After the error occured(I bound the primary key to a text box and entered it manually with each new added record to make sure it is uniqe)and all the other feilds in the table are (fname,sname...etc) When Use the DataAdapter.Update() method i get the following exception System.Data.OleDBException:The changes you requested to the table were not successful because they would create duplicate values in the index,primary key,or relatio…
Last reply by Khaledinho, -
- 6 replies
- 917 views
I recently finished my first ASP.NET application. Everything works fine in IE on my PC but when I tested in IE on a Mac, the app completely shuts down IE. I have a datagrid with one column being a dropdownlist. When I click on the dropdownlist, IE shuts down with no error given. Any ideas what the problem might be? Thanks!!
Last reply by rangerstud620, -
- 2 replies
- 769 views
Hello everybody :) I have one major problems. I developed an app that uses Direct3D. I use very simple objects, like Mesh.Sphere and Mesh.TextFromFont. My problem is that when I click the button for the animation to start (i simulate chemical reactions, using the spheres as the chemical elements) i can see in the Windows Task Manager, that the memory is going down every time i start new animation(for example - when i start my app the memory is about 300MB, and when I start many times the animations I even reached 10MB !!). I tried to dispose the meshes and to create them again every time I need to repaint the scene, but nothing really happens with that. I started a DX tu…
Last reply by akuehn3000, -
- 1 reply
- 3.3k views
Hello! I need help. I have impoted the AxMSComm Control 6 in MS Visual Studio .net 2003 and am using the control in C#. I tried to open ComPort #4 to receive GPS data through USB. However, I couldnt' open it, everytime, it gave me the following exception: System.RunTime.InteropServices.ComException(0x800A1F45): HRESULT 0x800A1F45 Could somebody kind enough to help me solve this problem? Any suggestion would be appreciated! Regards, Stephen
Last reply by jdegama, -
- 1 reply
- 987 views
Hi everyone who cares to read this post!! I have a very strange problem: I created a mesh of a tank in blender and loaded it to my app. then I calculated a BoundingBox (using Geometry.BoundingBox method) and rendered it, strangely enough the box didn't bound the mesh and was offseted about a third in t z and x directions, Has any 1 encontered such a problem? more strange is the fact that a diffrent mesh resulted in a proper bounding box
Last reply by akuehn3000, -
- 2 replies
- 3k views
Hi, all I have 5 pictureboxes. Using Doubleclick I can change image (System.Drawing.Bitmap.FromFile(OpenFileDialog1.FileName)). But when I press "save" button I need to get all image names from those PictureBoxes. Please help me, How can I get Image name from PictureBox ? Thanks, Erdenemandal
Last reply by Erdenemandal, -
Hi, I'm having some troubles with a SUM query in Access. How can I sum all values of a field in EVERY table named "amount_cur" by a parameter that I pass? I tried with SELECT SUM amount FROM table1, table2, table3 just to begin with the SUM, and then pass the WHERE clause but this didn't work as if "multiple cells found in tables" stuff.
Last reply by IxiRancid, -
- 1 reply
- 1.3k views
So since VS2003 on my machine is broke right now I'm playing with Beta 2 and noticed that the Of keyword is only for VB --- how do you do generics in C#; interestingly enough can't seem to find any documentation.
Last reply by bri189a, -
- 2 replies
- 959 views
I have a form with a datagrid from which the user can edit and delete records. Since one of the fields is a date field. I would like to include a calendar control as part of the edit in addition to the usual textboxes Is there an example of this somewhere? Thanks
Last reply by lorena, -
-
- Administrators
- 2 replies
- 788 views
I've been trying to learn network programming so I downloaded the chat example that Microsoft has on their website and have been making some modifications to it. I added in private messaging and some other features. There a few bugs with it, but there is one problem that can't seem to fix. This is the excpetion that is being thrown. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.RichTextBox.EditStreamProc(IntPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int3…
Last reply by Simcoder, -
-
- 1 reply
- 1.9k views
I am writing a virtual keyboard as on overlay for 3rd party apps. I am trying to find a way to keep the .NET keyboard from ever taking the focus from the 3rd part app (started by the .NET App) to prevent the title bar flickering etc... I have tried this link http://www.xtremedotnettalk.com/showthread.php?t=81013&highlight=prevent+focus But it appears to be for 2 windows in the same .NET app, not 1 .NET app and other programs. I am using VB.NET and sendkeys/sendmessage (depending on the user options). Thanks in advance!
Last reply by hercemer, -
- 1 reply
- 747 views
My Repeater below looks great in the designer; however, when i fire the application up it does not show the sepperators lins.. What can i do to expose the sepperators lines?? Thanks, Erik <ItemTemplate> <table style="BORDER-RIGHT: #66cccc 2px Dotted; PADDING-RIGHT: 10px; BORDER-TOP: #66cccc 2px Dotted; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: #66cccc 2px Dotted; PADDING-TOP: 10px; BORDER-BOTTOM: #66cccc 2px Dotted"> <tr> <td><span style="FONT-SIZE: 9pt; COLOR: black; DIRECTION: ltr; FONT-FAMILY: Arial, Tahoma" style=""> <%# DataBinder.Eval(Container.DataItem, "BulletOne") %> …
Last reply by kahlua001, -
-
- Moderators
- 1 reply
- 919 views
how to add a Calendar Event programatically from a form? Example, go to the below link, register and after register you will get a link "Add a reminder to your calendar for this event " when you click on this it automatically set a reminder.: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032277935&EventCategory=4&culture=en-US&CountryCode=US
Last reply by Robby, -
-
- 1 reply
- 723 views
Ok, I am missing something here. . . I have a two components - Basic (a simple component with one string property 'TheString') Composite (a component with one property - a Basic component) when dropped on a form (Basic _basic; Composite _composite), Properties of both components are visible, with the Basic property of Composite rightly depicted as a collapsible property. When I change _basic.TheString using the property editor, the following code is written in the form's InitializeComponent method: this._basic.TheString = "Foobar"; but when I change _Composite.Basic.TheString in the property editor, I expected to see: this._composite.Basic.TheStri…
Last reply by Joe Mamma, -
- 4 replies
- 885 views
Is it possible to output only the generated HTML of an asp.net page? e.g: I have asp labels and other controls which I work with on the server side. When output to the client, it always includes form tags with all the default hidden viewstate and other fields... I don't want any of those fields or any of the auto generated JavaScript in the output. I know I can use response.clear and response.write to output exactly what I want, but my problem is that I want asp.net to generate the HTML for me. Is it possible to get the generated HTML for a page before it gets to the client? I don't need any viewstate enabled. So that you know, the reason I am doing this is be…
Last reply by david7777, -
- 6 replies
- 1.1k views
Hello I have a question about parent child forms. I have form1 and form2. Form1 being the parent and 2 being the child. When I click a button in form1 it opens form2 in it. my problem is that if I click that button again it opens another instance of form2. What i want to do it only allow one instance of form2 to be opened at a time. my code for the button is below. Dim NewMDIChild As New Form2() 'Set the Parent Form of the Child window. NewMDIChild.MdiParent = Me 'Display the new form. NewMDIChild.Show() End Sub
Last reply by Simcoder, -
- 2 replies
- 594 views
Is there a control in VB.NET that I can drop onto a Windows Form that will allow me to open a html document from with in the windows form. Also I would like this control to give me the ability to kill all links. Any help given is greatly appreciated.
Last reply by lothos12345,
-
Who's Online 0 Members, 0 Anonymous, 58 Guests (See full list)
- There are no registered users currently online