Topics
-
DirectX 9 Audio/Video Playback object memory question
by Guest Deleted member 22320- 6 replies
- 7.9k views
I've got an app that imports the DirectX 9's Microsoft.DirectX.AudioVideoPlayback namespace for access to the Audio and Video objects. I have 2 private fields, AP, and VP (for audio and video playback). When i start playback of a new file I would have to create a new playback object for that flie, so I would just set the old AP/VP field = nothing and then set it to a new a/v object. I noticed that as the files played and went to the next track the memory usage of my app would forever increase with each passing track. Looking into matters i decieded to put a .Dispose on the previous reference right before setting a new one. And this worked fine if i keep sendi…
Last reply by mjmeans, -
- 1 reply
- 741 views
Can you update a field that you are searching by in sql? For example UPDATE temp SET ssn = 4 WHERE ssn = 5 Would the above sql statement work? Any help given is greatly appreciated.
Last reply by HJB417, -
-
- Moderators
- 3 replies
- 837 views
I dragged a table from server explorer into my page . It automatically generated the data adapter and the connection. I selected "Generate Dataset" From the dataadapter ... dragged a datagrid and did the bindings. Everything is nice. But I don't want to show all the columns, but only some of them . How do I do that ?
Last reply by PROKA, -
-
-
- Administrators
- 6 replies
- 1.1k views
Hi, a newbie to VB.Net in every sense of the word. And so I have a newbie style question .... Is it possible to run a .NET windows Application via a Browser session started via an Html link? i.e. I have a windows application that I have running on a local PC and want to be able to have someone at a remote location (i.e. over the corporate lan) be able to view and use. This would be for training and status purposes and I wish to avoid the need to download the most current versions' MSI and install on the local machine. The reason for avoiding the download/install is that for 99% of the non-developer workstations, the ability to install software h…
Last reply by azcegarman, -
-
XML Search
by Ice725- 0 replies
- 659 views
Trying to find out how to do a search that is not case-sensitive, I found the following code: <?xml version="1.0" encoding="utf-8"?> <Users> <User> <Name>sonu</Name> <Password>sonu</Password> </User> </Users> </code> Code File: <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Xml" %> <%@ Page Language="C#" Debug="true" %> <script runat="server"> void Page_Load(object sender, System.EventArgs e){ if(!Page.IsPostBack){ XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(Server.MapPath("user.xml")); XmlNodeList nodeList = xmlDoc.SelectNodes(…
Last reply by Ice725, -
- 0 replies
- 999 views
Hi, I have a datagrid that is being used for data entry. I have a column called "Product". While adding a row , I want to allow the user to click on a button in the datagrid row which will pop-up a page that will have a list of all the available products(listed in a datagrid). He will select a product from the list. What I want to know is how do I get this selected value back into a textbox in the datagrid in the parent form. I can get the selected value in a session variable , but in the parent form how do assign this value to the texbox. Note that the datagrid will multiple rows. How can I find the name of the textbox to which to return the value to. Thanks
Last reply by Rattlesnake, -
- 1 reply
- 1.1k views
Hello, I have created a program that makes a lot of buttons inside a panel that is inside a panel. The reason for a panel inside a panel is so the user can have an up/down button to scroll and see all the buttons. My issue is with the down button.. knowing when to stop allowing the user to go down (making it so when the user scrolls down... he cannot keep scrolling past the last button...) my buttons are space 151 pixels from the start of one button to the start of the next... and they are 4 wide (that is why i divide by 4 in the equation).. Private Sub btnDown_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDown.Click If T…
Last reply by Machaira, -
- 7 replies
- 9.1k views
I keep getting this error: An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll Additional information: String reference not set to an instance of a String. It highlights this line: Return (New UnicodeEncoding).GetBytes(s) Here is the website i found the example at: http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=%2fquickstart%2fhowto%2fdoc%2ffileencrypt.aspx Any ideas? :) thanks!
Last reply by Machaira, -
- 0 replies
- 785 views
Hi there I'm trying to build a Crystal Report from within a vb.net windows app. and am stuck on the following ... So far I have built up a dataset and then written it out to xml, which I'll then attach to my CR report. My problem is that apart from about 6 "header" fields that are constant, I have variable numbers of detail fields. How do I programmatically load this varying number of fields into the report ? Thanks for any suggestions Andy
Last reply by atnpowell, -
- 1 reply
- 856 views
Hi, Have my application sending out emails without a problem. I have passed a specific subject header for the email, however, when I receive my email, the subject has the the following header: [bULK] "My Subject header". Is the keyword [bULK] due to me using the ip address 127.0.0.1 and so the SMTP server sees this email as possible junk mail or can I eliminate this problem by going with a public IP address? Mike55
Last reply by PWNettle, -
- 1 reply
- 1.1k views
Hi, I was wondering, is there a way to show all domain computers using ASP.net ? If so how? Thanks Daniel.
Last reply by a_jam_sandwich, -
-
- Administrators
- 2 replies
- 1.7k views
system.web.mail system.net.mail I cannot find these in my classes? why are they not appearing?
Last reply by protoculture, -
-
-
- Administrators
- 4 replies
- 5k views
Dim frm0 as frmMainMdi Dim frm1 As New frmAsset_new frm1.MdiParent = frm0 frm1.Show() Me.Close() Boys and Girls it is obvious that i am no genius but can anyone explain why i cannot frmAsset_new as a Mdi child under frm0 i. i seem to only to be able to do it using either the menu item click ..... with frm1.Mdiparent = me..... is there a variable i could use that will aloow me do this? thanks guys :confused: :confused: :confused:
Last reply by ArchAngel, -
-
- 4 replies
- 842 views
I have created a class to handle all my database I/O. I have set up a method to pass in sql statements in that class and I'm hoping to get that method to return a recordset object. How can I return a recordset object to my calling class? ( am I even approaching this correctly? , thanks for your consideration )
Last reply by protoculture, -
- 0 replies
- 630 views
If so, could someone explain to me how can I execute code when double clicked on the Xceed grid's row? Yes, I also posted in the Xceed oficial forum, ppl answered me, but I can't make it work... If someone here uses Xceed let me know about it...
Last reply by EFileTahi-A, -
-
- Moderators
- 2 replies
- 851 views
Hi all, Have Visual Studio.net and SQL server 2000 on my machine at home. I recently reinstalled SQL Server 2000 and I am now getting the following error: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied. at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) at System.Data.SqlClient.SqlConnection.Open() at BookingWebService.moduleRoom.localConnection() in c:\inetpub\wwwroot\BookingWebService\myModules\moduleRoom.vb:line 18 at BookingWebService.moduleRoom.getRoom(Int16 o…
Last reply by mike55, -
-
- 0 replies
- 1.1k views
Hi, the app I am writing a gui has 2 sets of keystrokes I'd like to be able to send it. crtl+C and spacebar is it possible to do so? Thanks for your help Jay
Last reply by baxter, -
- 0 replies
- 1.3k views
i have embedded Web Browser into VB.NET form, i want to display the menu bar and the status bar of the Web Browser. AxWebBrowser1.MenuBar = True After setting it to true, it wouldnt show the menu bar. How can i get it to display the menu bar???
Last reply by gill, -
- 1 reply
- 857 views
I have a website and I would like to add a File Uploader on a page that allows my users to upload .txt files to a certain directory on my site. Like it would have a textbox and a browse button and an upload button, they click browse to find the .txt file then they click upload and it would upload it to a directory on my site.
Last reply by michael_hk, -
PHP vs ASP.Net 1 2 3
by eramgarden-
- *Gurus*
- Moderators
- 50 replies
- 4k views
I have a co-worker (not a developer tho) who keeps singing the praises of PHP..PHP this, PHP that... I'm developing an application with ASP.Net using datagrid, basically .net stuff.... Wondering what advantages PHP has over ASP.Net..can I have the same database capabilities in PHP as in ASP.Net? Any thoughts?
Last reply by Bikuri, -
-
Who's Online 0 Members, 0 Anonymous, 83 Guests (See full list)
- There are no registered users currently online