Understand The Use Of AT#CLASS = 8

Feb 1, 2009

I have a modem that I've been trying to communicate with only to discover this....went to the modem properties and queried the modem.....

AT+FCLASS = 0,1,8
AT#CLASS = ? COMMAND NOT SUPPORTED

(And I had been trying to use AT#CLASS = 8 all day).So, what does this mean?That the modem is automatically in voice mode (or will automatically choose it's own mode) and forcing it isn't necessary?Still no luck with the connection response messages either -- RING, etc.All I can do is make a call and the called number will appear in a textbox.

View 14 Replies


ADVERTISEMENT

.net - Access And Understand Old Dll From C#?

Oct 18, 2010

I have been given an old dll and the assignment of accessing it through C# .NET 3.5. I believe the dll was originally built with VB6, but am not positive. There is no documentation or source for the dll aside from an example for how to use the it in VB6. I have been able to succesfully access it through VB.NET 3.5. Example code for accessing looks like this:

myLib = CreateObject("MyLib.api")
myConnection = myLib.CreateObject("NameOfConnectionObject")
myConnection.do_something("abc")

There are several different objects that are created from the library and all of those objects have different methods. I tried using different dll reading tools, but all the export methods show up as garbage. I also tried importing the dll in visual studio, but I get an error stating the dll is not accessible and/or not a COM object or assembly. So, I only know about the methods from the old documentation which is sparse. how to access in C# and/or find out more about this mystery dll?

View 2 Replies

Can't Understand What Constants Are

Apr 24, 2012

i cant understand what constants are.

View 3 Replies

Don't Understand What This Subroutine Is Doing

Dec 4, 2011

Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
Dim d As Integer
Dim price(20) As Double ' Adjusted close price

[code]....

What is the for ... next loops in the second subroutine doing? What is the sim() array meaning?

View 3 Replies

Build Error Do Not Understand It?

Feb 18, 2011

I am getting a build error. If I try to build again after getting this error, it will build just fine.

View 9 Replies

Cannot Seem To Understand Why Left & Lan Isn't Working

Jan 4, 2011

[code] I cannot seem to understand why left & lan isn't working in the vb 2008 edition

View 2 Replies

How To Understand A MaskedTextBox In Null

Jun 6, 2011

how to understand a msakeditbox in null?

View 4 Replies

Trying To Understand Classes And Objects ?

Jun 5, 2010

I've been trying to understand classes and objects. Yes, I'm thick headed and slow, but I made the decision to go to .Net and I am determined to improve my coding skills to be more efficient. I have spoken to Atma several times on the topic and read most of his posts concerning classes and objects, but still came away a little baffled (He's really advanced for me yet). I needed a simplistic analogy for a reference point to begin understanding. I was reading about OOP written by MikeJ in the following thread/post ...[URL] and it all started to become clear in this statement , but I would like some reassurance that I'm getting it ..."A car IS-A vehicle, while a dog HAS-A tail. The car would be an object declared as type Vehicle, while the dog would have a member that IS-A tail. However, Fido IS-A dog. The dog class is the base template for all dog objects, so when we declare Fido as a dog, Fido is an object. Since Fido IS-A dog, Fido HAS-A tail."

From this I have taken the following understanding...

Vehicle ... ' Class
Car ....... ' Object
Truck ... ' Object
Van ....... ' Object

And from that can I infer that this is true?

Dog ....... ' Class
Fido ... ' Object
Tail .. ' Member of Fido

So to apply this to a program I wrote recently that tracks Generator service...

Generator ' Would be the class
Brand X ' Would be an object
Spark Plug ' Would be a member
Gas Tank ' Would be a member
Brand Y ' Would be an object
Brand Z ' Would be an object

This statement also helped ...

""Class" and "object" are sometimes used interchangeably. However, classes describe the structure of objects, while objects are instances of classes. Each instance is an exact copy of its base class. Because an object is an "instance" of a class, the act of creating an object is called instantiation. To describe it better, a class is a blueprint, and an object is a building based on that blueprint". I can understand this (I think) and it refers to a basic template such as ..."Generator" (my class or blueprint or template) Generators have an engine, powerplant, fuel tank, etc. These are basic requirements to be a generator. (Template or Blueprint) They can differ by Brand of engine, Size of powerplant, and type of fuel used. (Based on template or blueprint) Do I have it down now? MikeJ also made this statement ..."you can't access certain types of class members from outside of the class itself." From this I assume you would need to assign a Global variable the value of the class member if you needed to use it outside of the class?

View 17 Replies

Trying To Understand Code Segment (XML)

Nov 21, 2009

I'm just getting back into VB and was never a pro. The last environment I was in, briefly, was VB6 but spent a good amount of time coding in early VB's back to QB.I'm trying to read RSS feeds and found a nice demo reader but now I want to understand the code I'm seeing:[code]

1. Why does the demo create a new XML to read through an existing XML or is this all in memory as I can't find an actually file? Is this even needed as what I want to do is read the RSS feed, grab some info from it (Source, Title of each story, Date stamp, author and the story text) and then process that in various ways (not actually view it... I want to e-mail specific stories directly to me that fit my search criteria). Or is this just opening the XML out on the web? That would explain why sending it "test" gives me an error saying it can't find "test" in the bin folder as without an HTTP address it goes local.

2. doc.load... what check can I perform here to be certain that the data entered by the user is actually a valid feed? It should, for example, have a first line header that is reliable but is that the best method?

3. Where or how are the elements stored that I can then refer back to pull the data out I want?

4. I don't understand how this part works: navigator.Select("/rss/channel/item/title") Can someone shed some lite on the 4 pieces at the end?

5. I'm assuming the clean-up isn't really needed for e-mail but I didn't remove it as it doesn't seem to harm anything.

View 2 Replies

Trying To Understand How To Write Code

Feb 20, 2011

I have Visual Basic 2010 and also bought a book to study and practice problems. I know how to add controls and assign properties but get confused with the coding part.understand this somewhat?

Here is one problem I am working on-

Write a program to make change for an amount of money from 0-99 cents input by the user. the output of the program should show the number of coins from each denomination used to make change.

Now I know what controls i need on the windows form but I am sorta lost on the coding to make this program work.

View 3 Replies

Trying To Understand SqlDataAdapter.InsertCommand

May 25, 2010

At the following cmd.ExecuteNonQuery() line, I get the following error message: [code] I have followed the example at page [code] as closely as possible, but it does not work.Additionally, I am not sure of the syntax for the length (64) that I have for the BigInt or if it should even have a length.All of the examples that I have found in MSDN uses only parameters with character rather than numberic type. [code]

View 6 Replies

Don't Understand Parameters That Can Be Change And That Cannot Be Changed

Aug 5, 2011

"write sub prototype for a procedure whcih is named my data and has first parameter as a string which can be changed and second parameter of an integer which cannot be change"

View 3 Replies

Unable To Understand Prefix And Postfix?

Aug 6, 2011

Are you familiar with prefix and postfix? I just wonder how to solve it especially if the expression is too long.

View 17 Replies

Understand If A / Any Application Is Running In Fullcreen?

Aug 1, 2010

I want to make an application that will remind me to give a break once in 45-50 minutes. But I want it to determine if I am playing a game or not at the time that I have to give break. In short, if any application is in fullscreen mode (or maybe using graphic card) I want to know. Is there anything about that in .NET?

View 12 Replies

VS 2010 Understand Shadowing Properties?

May 13, 2011

I have created a new usercontrol. My usercontrol contains several other controls like labels, buttons and so on ...When I set the Font property of the usercontrol I want that font property value to propagate down to the child controls.

View 2 Replies

[2008] Unable To Understand The Code?

Jan 16, 2009

Can someone explain to me what this is doing.

[code]...

View 4 Replies

Find A Log File Encoding And Understand It's Structure

Oct 14, 2011

My questions isn't really about a programming language but, since I did not find a general programming forum, I chose this one as I know VB.Net. There's this game, that you might already know, which is called Star Wars Galaxies (And is ending soon actually .. ). For each account and character, the game automatically saves chat logs in a .cht file. A player can have multiple chat channels that have different chat filters (group chat, public chat, etc) and they are all saved in this file. I'm thinking they are probably separated by some kind of a "flag" for the game to be able to detect them.

[Code]...

View 3 Replies

Trying To Understand Control.BeginInvoke Code Over At MSDN

Jun 9, 2011

I am referring to this document on MSDN. I understand what ".BeginInvoke" does, however looking at the example code on the document.[code]The delegate myDelegate (and the DelegateMethod) accepts a control and a string, but, at the .BeginInvoke, a Label control is passed and an array.[code]Shouldn't a string be passed instead of the array? Am I missing something?

View 2 Replies

Unable To Understand Enumerator's Reset's Purpose?

Dec 30, 2009

if a call to For Each starts by calling the Enumerator's MoveNext, then Current, then MoveNext, then Current, and so on until MoveNext returns a False then it exits, am i right to say that the Reset is never called?initially i thought that Reset would be called when MoveNext returns False, i tried this (a msgbox would come if it was ever called but i got no msgbox at all)

[code]...

if that's the case, what exactly is the use of the reset in an ienumerator, and is it ok to leave it empty, as such

View 4 Replies

Understand ComboBox And The Use Of Columns (or Equivalent) In .NET For Instance?

Apr 28, 2011

I'm trying to understand ComboBox and the use of columns (or equivalent) in .NET For instance, I have a bound form with a combo box and a table that i want to feed it. In the table I have EmployeeID, LastName, FirstName. I want the "Bound Column" to be the EmployeeID, but the combo box to display the last and first name of the employee. This was very easily obtainable in VBA but is giving me some grief in VB.NET. I've played around with the datamember and valuemember properties of the combobox but have not had any luck.

View 2 Replies

Understand The Concept Of Raise Events And Threading

Aug 6, 2009

I'm trying to understand the concept of Raise Events and threading, From this tutorial i've just read in the author example he wrote that you need to use an event when calling sub when using threading, but he didnt elaborate enough in this subject, why can't I just call the function/sub as i always do?

View 22 Replies

VS 2010 Using API Functions - Understand Data Types?

Sep 29, 2010

I freely admit that I tend to avoid using API calls as much as possible I wish to use this API call

[Code]...

View 8 Replies

Understand Which Type Of Number Annotation Is Used On The Current Computer?

Jun 30, 2009

A number like 1,000,000.33 is written in another country as 1.000.000,33

which computer setting do I need to read to understand which type of number annotation is used on the current computer?

is there a way to convert those numbers in a neutral way??

View 12 Replies

VS 2008 File Changer - Make A File Much Easier To Understand

Jan 10, 2010

What im trying to make is too make a file much easyer to understand
--
Normal ull have to go in and fine all these stuff but im tryn make it so that if u press a button it make it true to false
--
example
(THIS HAS NOTHING TO DO WITH VB2008)

me.maxgametime = 600;
NTConfig_LifeChicken = 30;
NTConfig_ManaChicken = -1;
NTConfig_UseMerc = true;
NTConfig_ResetWeapon = true;

( and i want it like this)

me.maxgametime = Numberic1.value;
NTConfig_LifeChicken = Numberic2.value;
NTConfig_ManaChicken = Numberic3.value;
NTConfig_UseMerc = Clicked Label1;

[CODE]...

View 2 Replies

Class C Inherits Class D Is Class D A Superclass Or Parent Of Class C?

Dec 16, 2009

If Class X is within the scope of Class Y, is X a subclass of Y?If Class A is a sub Class of B, then is Class B considered a super class of A?if Class C inherits Class D is Class D a superclass or parent of Class C?if Class E extends Class F then we can consider Class E a child of F?if Class G inherits Class H and is within the scope of Class I then who is the parent of Class G? Classes that inherits Class J and classes that are within Class J are all sub classes of Class J?

View 1 Replies

Form Inheritance - Error1Base Class 'MenuStrip' Specified For Class 'Lesson2' Cannot Be Different From The Base Class

Apr 15, 2010

I have put this code in the global form Inherits System.Windows.Forms.Form. And then in the form that will inherit this from the global Inherits MenuStrip. "MenuStrip" is what the global form is called. But keep getting this error: Error1Base class 'MenuStrip' specified for class 'Lesson2' cannot be different from the base class 'System.Windows.Forms.Form' of one of its other partial types.

View 5 Replies

Register The Class File - Not Recognizing My Class.Even The Intellisense Is Not Picking Up Te Class

Jul 22, 2011

I have a class (see below)

Imports Microsoft.VisualBasic
Imports System.Data.SqlClient

Public Class ClientProfile

#Region "Variables"

[CODE]...

It is in the file ClientProfile I have placed in both App_Code and also App_Code/Models

In my code behind I have the following

[CODE]...

The last word, "ClientProfile" has the scary squiggly red line below it. It is not recognizing my class.Even the Intellisense is not picking up te class. Do I have to register the class file in any way?

View 4 Replies

C# - Get The Type For A Class By Sending Just The Name Of The Class Instead Of The Class Itself As The Parameter?

Sep 11, 2009

Dim a as Type=GetType(className) would gimme the type. But I have only the name of the class as string. I want something like GetType("class1") which would return the type.

View 2 Replies

Can't Make Difference Between Public Class And Private Class And Friend And Protected Friend Class

May 15, 2009

I can't make difference between public class and private class and friend and protected friend class.

View 1 Replies

Overload Operator In Generic Class With Generic Interface Of Super Class And Inherit Class?

Jan 21, 2010

I can do this without problem.

Class A
End Class
Class B : Inherit A
End Class
Dim Obj1 As A = New B

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved