-
Because the class hasn't been initialized yet.
class1 has a property called c2, and the type is class2; There is a property called integer, and the type is integer;
There is a property called c3 in class2, and the type is class3;
There is a property called ee in class3, and the type is integer.
The phrase set q = new class1 initializes q (class1), but only assigns value to the attribute of , its c2 (class2) attribute is not initialized, and the c3 (class3) in it is not initialized, so set o = is invalid.
set o = is equivalent to assigning the value c3 (type: class3) to o, and the type of o is class3, so it also has an ee property.
Change private m qq as class2 in class1 to private m qq as new class2, and change private m ww as class3 in class2 to private m ww as new class3, add a new).
It's ready to use.
-
Landlord,I'm weakly asking,What about your class1**??
-
dim x as single
x = val(
The x here has been converted to a single type, so when you use the case, just write 123 without double quotes.
Either you can define x as a string type, or don't convert the type.
-
x = val(
Let's get rid of this.
x=trim(
Look at it this way.
-
It can be said that VB can be implemented with any software, provided that your foundation is thick.
VB is an upgraded version of the Basic language, which is a visual object-oriented language, and the control is the object in the VB, without the object, the VB has no way to run.
It is very easy to learn VB in BASIC language, as long as you understand the object of VB, you will understand it slowly.
-
VB is more suitable for small software for desktop applications. The database application system is also okay.
Industrial control, high-precision application system may not be able to do. If the program needs to process graphic images, don't think about VB.
The controls are just decorations. The simplest thing. It's the threshold.
-
VB is also very powerful, it is a tool for rapid development of a kind of software that can do most of the work you want, but it doesn't feel like it can be used for fairly large systems. VB is suitable for you to develop a small tool software, such as a payroll management system, etc. For large ones like AutoCAD, it feels very inadequate.
VB is an integrated development environment that uses the Basic language, with Basic and C at one level, and VB and VC at one level.
The process of learning VB: Step 1: Learn grammar knowledge and make some small examples against examples. You can refer to the Visual Basic Programming Basics Tutorial and Hands-on Guide.
Step 2: Familiarize yourself with the programming of common controls in VB, such as the use of ListView and TreeView, and then you can read your textbook.
Step 3: Develop a simple payroll system against the source code, and it will be up to you to accumulate experience in the future.
-
Controls aren't the key, it's the syntax and functions that matter.
Personal opinion. If you want to learn VB well, look at more examples, practice more by yourself, this is the most important thing to find the source of the master's editing**.
-
VB can be programmed with any software! VB is an upgraded version of the Basic language. The language of VB is the basic language.
-
In my opinion, VB is relatively easy to learn, so the program is relatively simple, and the function is relatively weak; C and C are different, it is difficult to learn, but it is quite powerful, and almost all software can be done in C, so I say that VB is far inferior to C.
-
1 All 1, there is a problem with the picture tube, and the circuit line scan and field scan are faulty.
2. If it is a problem with the circuit of the motherboard or the cable connected to the LCD screen, it is relatively simple to solve this situation, and it can be solved by replacing the motherboard or cable.
3. The LCD TV screen is composed of liquid crystal panels, and its working principle is to control the voltage applied to the liquid crystal by the semiconductor transistor, so that the state of the liquid crystal molecule arrangement changes, and the light and dark changes of each pixel are realized, so as to achieve the change of image, and when the transistor that controls the rotation of the liquid crystal molecule fails, there will be a dead pixel.
4. There is a problem with the signal source input of the TV that causes a vertical line to appear on the screen, you can check the connection line between the TV and the cable or set-top box, *** machine, etc., whether there is looseness or the quality of the connection line causes the vertical line, you can change the connection line to reconnect and fix it.
-
This is a problem with the picture tube of the TV, which is easy to repair.
-
Enter the test signal to see what the effect is.
This screen is very hanging.
-
Lowercase to uppercase formula for amounts in Excel**.
Equation 1: substitute(substitute(if(a1<0,"Negative element angular points",if(round(a1,2)=0,"","whole")),"Zero Yuan Zero",""),"Zero yuan","")
Equation 2: concatenate(if(a1<0,"Negative",""),text(if(trunc(a1)=0,"",trunc(abs(a1)))"[dbnum2]"),if(int(trunc(a1))=0,"","Meta"),text(if(or(abs(a1)<,trunc(a1)=a1),"",right(trunc(a1*10),1)),"[dbnum2]"),if(right(trunc(a1*10),1)="0","","Corners"),text(if(right(trunc(a1*100),1)="0","",right(trunc(a1*100),1)),"[dbnum2]"),if(right(trunc(a1*100),1)="0","","points"))
Equation 3: if(round(a1,2)=0,"",if(round(abs(a1),2)>=1,text(int(round(abs(a1),2)),"[dbnum2]")&"Yuan whole",if(right(text(a1,".00"),4)*1>=1,if(right(text(a1,".00"),2)*1>9,"","Zero"),if(round(abs(a1),2)>=1,"Zero》9,text(left(right(text(a1,".
00"),2)),"[dbnum2]")&"Angle》0,text(right(text(a1,".00")),"[dbnum2]")&"points","whole")))
-
Use the control to register it before using it.
-
Is your problem solved, I have the same problem as you, I would like to ask.
-
The second problem is easy to solve, just set the control's autoredraw to true. As for the first question, I don't have a good solution yet.
I think the first issue should be a bug in VB, which can only be solved by a workaround at the moment. For example, when it gets bigger, cls first, and then prints it again.
-
Don't print
Put a label or textbox on the pic and just put the content on it.
The print method is really useless.
-
Didn't understand your first question. The second is that the data printed on the screen is missing arms and legs. Hehe. Just set the autodraw of the control to true and use the method of the 4th floor, can you elaborate on the first question.
-
Do you use arrays? When you click "Show Data", the ** that originally had no data will be gone, and the ** will be displayed, so that's it.
Do you know the story of selling cats?
An antique dealer took a fancy to the cat-feeding saucer of a cat seller and found it to be a valuable antique porcelain. >>>More
Landlord, hello, I don't know if the following methods can be solved, but you don't want to try. >>>More
The friction force multiplied by the displacement of the plank below is equal to the change in kinetic energy of the plank below; >>>More
Because the system's junk files, temporary files, and too many caches lead to slow response to the boot desktop, especially the network connection, first use the optimization software to clean up the system garbage and then restart it to see, or this shows the possibility of a virus, it is recommended to have a full antivirus, and set the IP address of the local connection to a fixed IP address that you know how to set up, so that it will speed up after booting, so as not to automatically generate the IP address will support the speed, because the automatically generated one needs to be addressed for a long time and then assigned to your IP address, Wasted time and network stability!
It's best not to tell your boss that if she doesn't leave, you can do it and try to keep her.