Checking Modem, Video Memory And DirectX In System
Hello,
I need to detect some hardwares on the system. Is there anyone who can provide me help on all or any of these?
Detecting if there is any modem instlaled on the system or not? What is the memory size of video card in system? which version of directX is installed on the system?
Note that for modem, I do not want to use MSCom control. I am going to create an ActiveX control which will be downloaded to client and hense, I need minimum dependencies.
Thanks for your help,
Sameers
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
DirectX 7 System Memory Surfaces
Question: I want to load a bunch of data screens and then "move" them to video memory at different points in my games. At first I thought I should just keep them on the hard drive and then load them into video memory as needed, but then since my data screens are only around 4 meg or total, why not load them into system memory and simply copy them over to a video memory surface as needed.
So, do you think keeping them in system memory is fine, or should I keep them on the hard drive and load them individually into a video memory surface when needed?
I mean most computers have gobs of system memory available, I would think 100megs of graphic data files in system memory would not be a problem???
How Use Modem To Develop Software For Video On Demand
Pl. Any 1 help me
I m developing software for Video on demand to play songs only using MODEM
Song part is allready completed. Now i m not able to use modem in my software has yet i m not confirm eighter i should use MSCOMM OCX or TAPI3 . Make sure i m using Modem.
!! What i want !! my software is for cable tv operator . when scustomer dial no by phone (which is connected in my computer. ) my software playing song while playing song detect Dile tone, after 4 ring computer should reply welcome please select category, ( cetegoury will show on tv screen over playing song . Play song display list over song i have done this part of software). when customer press number like 01,02,03 from Phone computer detect no and play that song
IN brif i want 1. Detect Dial Tone from when phone is ringing , 2. after 4 ring pick up the line and reply wave file, 3. While playing wave file when customer press DIgit from Phone detect number theat value supply to variable my program will play particaular Song
I m USING VB6
Please Please help me
How Use Modem To Develop Software For Video On Demand
Pl. Any 1 help me
I m developing software for Video on demand to play songs only using MODEM
Song part is allready completed. Now i m not able to use modem in my software has yet i m not confirm eighter i should use MSCOMM OCX or TAPI3 . Make sure i m using Modem.
!! What i want !! my software is for cable tv operator . when scustomer dial no by phone (which is connected in my computer. ) my software playing song while playing song detect Dile tone, after 4 ring computer should reply welcome please select category, ( cetegoury will show on tv screen over playing song . Play song display list over song i have done this part of software). when customer press number like 01,02,03 from Phone computer detect no and play that song
IN brif i want 1. Detect Dial Tone from when phone is ringing , 2. after 4 ring pick up the line and reply wave file, 3. While playing wave file when customer press DIgit from Phone detect number theat value supply to variable my program will play particaular Song
I m USING VB6
Please Please help me
Live Video Program, DirectX?
Hello,
I have to develop a live video program. I need to show a transparent logo(s) on a main video screen. In the main video window, a sub video windows should appear at specefied location which will be playing a defferent video. Another small portion should play a flash file and at the lower side a scrolling message should appear. Finally I must be able to draw some transperent graphics on main live video window.
I want to know various posiblities to do the above things. I believe above things may involve many Windows API calls or any such stuff, so kindly let met know any info. regarding overlaying video display, transparent windows , drawing on live video window etc.
I don't know anything about DirectX in Visual Basic. What are the posiblities of above requirements in DirectX. Is it a good idea to look for a DirectX solution at this level?
Thank you.
Modem Checking
Hi !
i want to write an application that checks my modem and that it should allow calling only to a specific number.
If the user or windows starts in some way calling a different number than the default it should drop the line .
Do you know where to search in order to do this ?
thanks !
Modem Checking
Hi !
i want to write an application that checks my modem and that it should allow calling only to a specific number.
If the user or windows starts in some way calling a different number than the default it should drop the line .
Do you know where to search in order to do this ?
thanks !
[VB] Checking For Other Instances Of DirectX
Hello,
I am working on a VB program that reminds users of various events during the day. However I dont want to disrupt their programs they are using with a nasty 'ol dialog box. For instance: if they are playing a game, I dont want my program interrupting it and making them lose. However, I dont think that they would mind if my dialog box intruded on their web-browsing. I thought a good way to do this would be to check if there is an instance of DirectX or OpenGL currently running. I googled around, and couldnt find any way to do this, and was hoping that someone here might know how to check and see if directx is running.
Checking Internet Connection With Cable Modem
Hi,
I'm wanting to check when the computer is online or offline and it seems the only way to do this is to constantly ping every few seconds. With a cable modem every API call shows there is a connection even when I turn off the modem.
Any other ways without pinging but truely knowing when the internet connection is there or not?
Also, won't pinging bring up the dialup part for a dialup computer when it tries to ping? How do you think programs like AIM and others detect it so fast?
Thanks for your help!
Receive && Send Sms Using Mscomm-checking Modem Status
Hi,
I would like to know how efficient it is to send and receive SMS using mscomm control..?
Also, much as i tried,i was able to only send sms using the mscomm control..
can anyone help me with some code (that works!) for receiving sms..??
thanx in advance.
Edited by - jshree on 5/10/2004 11:50:51 PM
System Modem
Hi,
i'm a new register, and I have a question:
I should get a list of modem(s) installed into the system and corresponding initialization string.
Is this possible?
Thanks in advance..
Best regards.
Detect Video Memory
Hi, this a simple question, How I can check the video memory : Total and Free using DirectX I'm currently using GetAvailableTotalMem() function but I can't obtain nothing, Please help me !
Thanks !!!
Get Total Video Memory
ok, i'm new to directx programming, so try and go slow
i want to write a small program that tells the user the total amount of video memory they have on their system. unfortunatly i can't find any information on how to do it (there is plenty of information on getting the amount of free video memory, but not the total amount).
any help would be appreciated.
Reading From Video Card Memory
Hi,
I'm trying to figure out how I can use a VB 6 application to read into an array, for instance, the data that my graphics card sends to my display.
How To Check For VIDEO Memory Usage
Hello,
I'm trying to create a game and i'm loading and unloading lots of textures while the game is running. As the windows 'memory usage' stays constant I can only suspect that the textures are loaded into the Video memory and not in the system's RAM. My question is how can I check what is the current usage of the video memory on the graphics card. Does anyone know a utility program that can show me the memory usage. Also, can this thing be checked using VB, so i can integrate this into my program ?
I use a nVidia GeForce FX card.
Thank you
Managed Directx Poinetr To Surface Memory
Hello,
How do I get a pointer to the actual physical address of the memory assigned to a surface; which was possible in the old directx by using lock method. I have been stuck on this for ages. Any help wil be greatly appreciated.
regards
Read Data Directly From Video Memory?
I have created this capture program, which captures the entire screen every second or so, but it gets pretty slow...
I was wondering if there's any other way than using the GDI API, for example by directly accessing the memory addresses form the video memory and pulling out data ?
Please let someone tell me if it is possible of a 'dont even go there'
Thanx
Law
Video Editing System
I am making a video editing system. for the timeline I want to be able to display the entire movie file out as a picture of all it's frames,,, is it possible to display a movie
files frames? How would I make a movie file open into a picture box or something, as a series of it's frames.....
Also ... How can I make a slider bar control the system sound? PLEASE RESPOND ASAP! thanx - Shawn
Operating System Checking
Without devging into any complex api calls or functions that are a page long, is there a way that I can detect an OS while my form loads. Specifically, my form loads with certain paths to win2k and pulls info. I want my form to be able to do the same with XP. Im sure I could write an if statement or case select if I only had xp here at the home. Does anyone know an easy way I could detect the difference between the two, ie a certain system file I could do an "if file exist" on, or something similar and just as easy.
thanks
Error Checking System Call
For a project where I work, I am supposed to make a program that will map a network drive (note: I am constrained to VB 6.0). I have the program doing that, but I don't know how to pinpoint where an error accurs.
example: If the user types in their password incorrectly, they need to be told that their password was incorrect not that explorer couldn't open the drive.
'Shell' only returns the processing number, and 'ShellExecute' only complains if the program cannot be found. What I am using is 'net', so 'ShellExecute' finds it and then runs. So as long as net.exe can be found, it is happy. I would be very happy if someone could tell me what I can do so that I can get whatever net.exe returns. Thanks to anyone that can help.
[VB] Checking If ICON Is In The System Tray
I have noticed that sometimes when I leave a windows 98/ 2000 box running my application for a number of days my Icon in the system tray disappears while the task manager says the application is still running. Is there a way I can tell if my icon is visable in the system tray? so if it is not I can add/modify it.
I am using
Shell_NotifyIcon NIM_ADD, nid
with this TYPE
With nid
.cbSize = Len(nid)
.hwnd = Me.hwnd
.uId = vbNull
.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE
.uCallBackMessage = WM_MOUSEMOVE
.hIcon = Me.Icon
.szTip = App.Title & " Version: " & App.Major _
& "." & App.Minor
End With
Checking System Short Date Format
Hi all,
I want to check the system short date format using Visual Basic 6.0
My requirement is that the application will only proceed if the short date format set from Regional Settings in Control Panel is in yyyy-mm-dd format.
How can I do this?
Kindly help.
Thanks in advance.
Checking The System Font From My Control<RESOLVED>
I am guessing that containers like Outlook-style explorer controls must get the font settings from the system since they don't expose a font property. My control will have a titlebar with a caption, sort of like the one above the treeview in Explorer. I need to set the height of the titlebar by the height of the font, but I'm not sure how to check if the user has large font settings. Can somebody point me in the direction of whatever api I might need? thanks
God Bless America
Edited by - IDontKnow on 6/9/2004 1:28:38 PM
System Memory
hi, i'm posting this here because i am assuming it will be an api call i need
is there a way to find out the amount of system memory in total, not just in use ?
thanks
WMI- System Memory
How can i extract the total memory, used memory and free memory using this reference (wmi)?
System Memory
hi,
i want to know the free memory (GDI) available in the system.
i knew that there is one such api was available in vb4 ie. GetFreeSystemMemory and that is only for 16 bit applications(except globalsystemstatus)
i want to know about 32 bit application api which should work in vb6.
thank you.
bye
SQL 6.5 System Memory/sp
Help me out, people. This is going to be a long one.
I am running an intranet front-end to a SQL server 6.5 database. I have a recordset-returning stored procedure which is used to return summary information about a list of records describing financial transactions. It runs four SQL statements using three temporary tables in the following way: first statement selects records with "where" clause into temporary table1.
Second statement selects sum information with cube from table1 into table2.
Third statement groups information appropriately and sums form table2 into temporary table3.
Fourth statement returns all of table3 with appropriate column headers.
All this, no problem. But : now the user has asked for count information along with sum, so I have added the appropriate fields to statements 2, 3 and 4. Now, when run from the intranet, I receive msg 701 :Microsoft][ODBC SQL Server Driver][SQL Server]There is insufficient system memory to run this query.
When I run the procedure more locally with isql, first I receive the intended results, then the same message, then the results. Exactly every other time I run the query I receive the error, and every alternate time I receive the results.
I have checked the server out and there simply isn't a shortage of memory.
What the hell is going on?
Anybody encountered something similar?
What can possibly cause an error on every second execution?
thanks for reading,
surrendermonkey.
Colon-Hyphen-Close-Bracket
Checking Hotel Reservation System Against A Database Of Dates
Please can someone help me, i am doing a hotel reservation system in VB and with this code
Dim sql As String
sql = "select [Room Number]from Rooms Where [Room Number] Not In"
sql = sql & "(SELECT [Room Number] FROM Bookings WHERE abs("
sql = sql & "Sgn(DateDiff('d', [Date from], 'Me.txtArriveDate.Text'))+ "
sql = sql & "Sgn(DateDiff('d', [Date To], 'Me.txtArriveDate.Text')) + "
sql = sql & "Sgn(DateDiff('d', [Date From],'Me.txtDepartDate.Text'))+ "
sql = sql & "Sgn(DateDiff('d', [Date To],'Me.txtDepartDate.Text'))"
sql = sql & "<>4"
Me.lblRoomSelected.Caption = sql
I cant seem to display in my label the results of available rooms (room table )based on an arrival and depart date (booking table) of my database
System Tray With Low Memory Need
I need a systray icon with my program. It is a very small program, and without icon it uses 900K ram. When I add a systray icon, it uses over 4MB of ram. This is just too much. How can I fix this? Is there a way to have a systrayicon with low memory needs...?
Btw, I tried a lot of systray ocx-es but they all used a lot of ram. I only need to click the icon to bring the program up front.
Get Physical Memory The System Has.
I was trying to do it by the registry since alot of my program calls the stuff from there however I cant seem to find the Physcial Memory in there so I assume it has to be done another way that way im not sure how so im looking to see if someone can give me something to work with.
some how the Physcial Memory is displayed when you right click on My Computer and then go to the Properites which is what I kinda wanna do I wanna get that info of the ram that is there.
alot of this stuff is in the registry but I never found the memory there.
Checking The Values Of Two Cells To Validate A Username/pass System
I have made a log in script uysing VB in excel. The script works fine, apart from if someone enters two different values that dont match their username and/or password (that appear in a cell hidden). Heres the code:
Code:
If Sheets(1).Range("J10") = Sheets(1).Range("O12") And Sheets(1).Range("J12") = Sheets(1).Range("P12") Then
Sheets(1).Range("Q12") = 1
'Log In Move Image
ActiveSheet.Shapes("Group 159").Select
Selection.ShapeRange.ScaleWidth 86#, msoFalse, msoScaleFromBottomRight
Selection.ShapeRange.ScaleHeight 54#, msoFalse, msoScaleFromBottomRight
Range("G7").Select
'Log In Move Button
ActiveSheet.Shapes("Button 70").Select
Selection.ShapeRange.IncrementLeft 4.5
Range("D20").Select
ActiveSheet.Shapes("Button 160").Select
Selection.ShapeRange.ZOrder msoBringForward
Selection.ShapeRange.ZOrder msoBringToFront
Range("I19").Select
ActiveSheet.Shapes("Button 70").Select
Selection.ShapeRange.IncrementLeft -4.5
Range("H18").Select
'Log In Move Button Change
ActiveSheet.Shapes("Button 162").Select
Selection.ShapeRange.IncrementLeft 6
Selection.ShapeRange.ZOrder msoSendToBack
Selection.ShapeRange.IncrementLeft -6
Range("J20").Select
'Lookup Details Of User
Sheets(1).Range("C8") = Sheets(1).Range("J10")
Sheets(1).Range("C9") = Sheets(4).Range("B" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C10") = Sheets(4).Range("C" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C11") = Sheets(4).Range("D" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C12") = Sheets(4).Range("E" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C13") = Sheets(4).Range("F" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C14") = Sheets(4).Range("G" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("G16") = Sheets(4).Range("H" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C16") = Sheets(4).Range("I" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C17") = Sheets(4).Range("J" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C18") = Sheets(4).Range("K" & Val(Sheets(1).Range("P33")))
Sheets(1).Range("C19") = Sheets(4).Range("M" & Val(Sheets(1).Range("P33")))
Range("F15").Select
ActiveCell.FormulaR1C1 = _
"=0+LOOKUP(R[1]C[1],'Items Database'!R[-13]C[5]:R[29]C[5],'Items Database'!R[-13]C[4]:R[29]C[4])"
Range("B22").Select
MsgBox "Log in successful! Welcome back, " & Range("C9") + ". Use the form on the left if you require to change your details", vbInformation
Else
MsgBox "Username and/or password is incorrect", vbExclamation
Sheets(1).Range("Q12") = 0
End If
You can ignore the body of that code, it gets a bit messy. But basically, at the top, it checks to see if the username = the pass (found using a vlookup) and if it is equal, then it logs them in, but if it isnt, it should go to the 'else' code and display an error message. I cant work out why it doesnt do this...it highlights this area of code:
Code:
If Sheets(1).Range("J10") = Sheets(1).Range("O12") And Sheets(1).Range("J12") = Sheets(1).Range("P12") Then
Any help to fix this problem is most appreatiated!
cheers
-Ross
Finding The System Memory Using VB Script
Hi All,
Does anyone know if its possible to find Physical Memory details of a PC using VBScript...but without using WMI please?
I've been searching high and low for days now - I can't find a way of doing it without using WMI.
Any help appreciated!
Cheers,
Paul.
Operating System Memory Management
I am dumbfounded by a memory management problem that seems to vary greatly between operating systems.
I am developing a system that uses an MDI frame, in which the user can open multiple instances of the same form. The child form is very large, with 200 controls. This includes two nested tab controls, several list views, and lots of combo boxes with pre-loaded lists.
Admittedly, this should use up some significant memory. I have no problem with this. However, the memory usage between Windows NT and Windows 95 is staggering. My development machine uses NT, and I can open 10 or 15 instances of the MDI child with no problem. Each instance uses about 2MB. End users are running Win95, and they can open only 2 or 3 instances before running out of memory. On Windows 95, each instance uses about 15MB.
We are replacing a character-based Progress system, and users really appreciate the gee-whiz functionality of GIU, but it looks like I will have to take away a feature that was a real selling point.
Any ideas??
Store Data To System Memory
Can anyone help me...If you create a game that has a score at the end of it, how is it possible to commit that score to memory when the app. closes, so that on re-exe the last score can be displayed i.e
lblLastScore.Caption = "25"
Secondly...I have had to buy at least 4 VB books in a vain attempt to to get literature on all aspects of the subject, only to find that there are still aspects not covered.
Can anyone suggest a book that really DOES cover everything.
Your help will be most appreciated
Graham(VB novice, S.Wales/UK)
Form Memory Usage (System Tray)
Hi all,
I created a form, what do a system tray icon, but my big problem, that it's use too much memory.
When I minimize the form and after hide it, then the memory usage decrease.
But if I hide immediately without any windowstate change, it use much memory.
How can I solve, that the program clear the form apperiance from the memory??
Or anything else, that decrease the memory usage...
Thanks for any help.
Ps. (The main thing is the system tray icon, form is no need to me...)
Free Some System Memory When Our Porogram Is Running
Hi.
I made a program that uses a timer to go every 1 second to a mysql database check possible changed and if changes appears it changes the program. well I could identify that this operation passed 8 hours blocks my computer. It eats about 1mb per minute. The question is how can I free some system memory to avoid it crashes.
By the way do you know a possible better way ro access a database in a short interval time with put the computer so slow?
Thanks
Teixeira
Req-HOWTO Add A Serial Modem To Modem Devices List
Hello.
I am trying to write an app that performs the functions of the windows "Add Modem" wizard. I am working with a wireless phone box DOWTEL CDMA 2000 with an RS-232 serial port
1: I am trying to add a modem device to the list of modems windows displays in the "Phones And Modems" control panel applet.
2: I am aware this can be done using the "Add Modem" wizard. I want to achieve this automatically, since Windows 95 to win XP and Server OSes support Standard Modem Types (Standard 33600 bps modem specifically)
3: I used an API Spy to monitor the API calls made to windows when a modem is being added. here is a list.
DeviceIoControl
GetModuleFileNameW
GetProcAddress
LoadLibraryA
LoadLibraryExW
LoadLibraryW
NtConnectPort
NtCreateFile
NtDeviceIoControlFile
NtFlushBuffersFile
NtFsControlFile
NtNotifyChangeDirectoryFile
NtOpenFile
NtQueryAttributesFile
NtQueryDirectoryFile
NtQueryInformationFile
NtQueryVolumeInformationFile
NtReadFile
NtRequestWaitReplyPort
NtSecureConnectPort
NtSetInformationFile
NtWriteFile
4: MSDN has a section on serial communications with API code in C++.. i do not know C and have at least 70 modems to configure before august. I need to automate this process. all the activex controls i have seen tell you how to work with modems already installed not how to install them with the API windows uses. they all claim to expose everything the windows code does, but there is no Addmodem function.. I guess that is what i need.
Thanks
Thanks
System Error &H800700007 (-2147024889). Memory Control Blocks Have Been Destroyed
Dear all,
I have a problem with my application..
The conception of my program seems to be ok, however, every time I am
running it, it blocks regularly on my dll and shows the following message
<<Execution error '-2147024889 (80070007)':
System error &H800700007 (-2147024889). Memory control blocks
have been destroyed.>>
By clicking "enter" the program continues normally in 99% of all cases and
the main code seems to be fine.
What I do understand of this error message is that the dll essaie tries to
write on memory block to which it has no access rights.
Is this part of my understanding ok ?
Should I be right, the solution would be to control the allocation of memory
blocks some way or another. A very interesting article about this may be
found
at:http://www.codeproject.com/vbscript/how_to_do_po inters_in_visual_basic.as
p?df0&forumid32&exp=0&select15131 .
.
However, I am not very familiar with pointers and would like to ask how to
solve this in detail.
My program (in very short) resumes like this :
I have one form named frmThisForm.frm with only one module named
modThisModule1.bas and only one dll.named thisDll.dll.
My dll has two elements:
- a class module clsThisDll.cls
- a user document usrThisDll.dob
My clsThisDll has only three or four lines
Option Explicit
Sub Main()
'dummy = entrance point to this dll
End Sub
The real dll code is all in the usrDpp.dob.
Has anybody a detailed solution of this problem ?
willibrord oomen
email@removed
|