runtime-error

Run-time error 9 in VBA script

耗尽温柔 提交于 2019-12-13 05:15:44
问题 So basically I probably have a lame question. I've used VBA for about two hours now and I'm just trying to make a macro that would would create a new speadsheet and copy data from existing one. I've dealt with compilation errors there were, but now when I try to compile the project I get a "Run-time Error 9: Subscript out of range". In the code below the error comes up in the line where Name variable gets assigned its value. I've had a look at other threads with the same issue but with my

PHPMyAdmin #2013 - Lost connection to MySQL server during query

心已入冬 提交于 2019-12-13 04:18:04
问题 Specifically within the context of PHPMyAdmin, I haven't been able to find any workable answers. I get this error MySQL said: Documentation 2013 - Lost connection to MySQL server during query After running the following query: -- Deleting all duplicate products in wp_posts table DELETE FROM wp_posts WHERE post_type = 'Product' AND id NOT IN (SELECT x.minid FROM (SELECT p.post_title, MIN(p.ID) as minid, m.meta_value FROM wp_postmeta m INNER JOIN wp_posts p ON p.id = m.post_id AND p.post_type =

Run-Time Error 3008 when trying to run a delete query. Error is saying that the table records it is trying to delete is already open?

喜你入骨 提交于 2019-12-13 04:16:43
问题 This code below is giving me a runtime error stating the table is already open by another user, when I am trying to execute a delete query. It is only giving me this error on this delete query when I am trying to run it strictly through vba, but if i try to run it manually It works as it is designed too? Also, if I comment out this delete query I end up having no issues? Private Sub Command27_Click() Dim dbs As dao.Database Dim Response As Integer Dim strSQL As String Dim Query1 As String Dim

Errors showing in Qt application - how to not display them in Release

ⅰ亾dé卋堺 提交于 2019-12-13 04:16:12
问题 A Qt project gives a number of errors - that I do not actually consider errors I think: Some examples: Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 32: out of memory // ? QGraphicsItem::ungrabMouse: not a mouse grabber // i think happens when the mouse grab didn't quite happen, user moved too fast... A few others the first one seems it has an answer here https://askubuntu.com/questions/421891/fontconfig-error-out-of-memory So I cannot fix it through software, the user must fix it

SDL Init slows the program while code is correct and has run perfectly before

强颜欢笑 提交于 2019-12-13 03:49:27
问题 I have a SDL2 program that works perfectly. But from time to time, when I compile, execute and close several times my program, it slows drastically when calling SDL_Init(). I can still see my console, but it is just very slow and needs 5 minutes to resume. It happens when I use "SDL_INIT_EVERYTHING" as a flag. But after 5 minutes, it runs the program smoothly. But when I use "SDL_INIT_VIDEO | SDL_INIT_EVENTS" as a flag, the program freezes when calling SDL_PollEvent() instead of SDL_Init(). I

Unexplained NullPointerException in JavaFX application

送分小仙女□ 提交于 2019-12-13 03:08:46
问题 Background Information Creating a JavaFX application for Computer Science What I'm doing I call a class and open a scene that is created in the class What is happening I get a NullPointerException stacktrace; see below. What I've tried I used to print statements to see where it happens. It doesn't happen where the class is created, but in the class itself, it survives like the first two lines of code in the constructor. Error Exception in thread "JavaFX Application Thread" java.lang

Failed To Activate Control 'vb.usercontrol' In VB6

自古美人都是妖i 提交于 2019-12-13 02:38:31
问题 I have a program which is written in VB6 and runs in many PCs with different windows versions, without any problem. But in some PCs it does give me the error: failed to activate control 'vb.usercontrol'. this control may be incompatible with your application I register OCX files which are needed by my program. I don't know if it's related to being a 32bit or 64bit OS or not. I'll be happy to know your answers. Thanks. 回答1: I've found the problem and the solution : There is an ocx file which

Userform.Show on a form button will not recognize userform, getting Error 424

ぐ巨炮叔叔 提交于 2019-12-13 02:18:17
问题 I know very little about VBA, but I'm trying to design a userform for an excel workbook. The idea is click the button, bring up the userform, enter info, hit OK, and your info is formatted correctly and inserted into the worksheet. I have 3 userforms that all work fine, but any macro I create that references one of them just does not recognize that that particular userform exists. The code I'm having a problem with is pretty straightforward: Private Sub LiquidFormButton_Click()

Error on AS3: TypeError: Error #1010: A term is undefined and has no properties

谁说我不能喝 提交于 2019-12-13 00:43:50
问题 I'm trying to create a collision code involving an array of bullets and an array of zombies. But when it tried this code: for(var bu:int = 0;bu < bullets.length; bu++){ for(var zo:int = 0;zo < zombieCount.length; zo++){ if(bullets[bu].hitTestObject(zombieCount[zo])){ stage.removeChild(zombieCount[zo]); zombieCount.splice(zo, 1); stage.removeChild(bullets[bu]); bullets.splice(bu, 1); trace("hot hit") } } } I sometimes get an error message. I tried this code: for(var bu:int = 0;bu < bullets

JFreeChart: no such method error despite having loaded the library

流过昼夜 提交于 2019-12-13 00:39:17
问题 I am using JFreeChart in a Java swing application. I did specify where the libraries are in my builder.xml file: <zipgroupfileset dir="../lib" includes="jfreechart-0.9.21.jar" /> <zipgroupfileset dir="../lib" includes="jcommon-1.0.8.jar" /> I imported those libraries; Eclipse doesn't show any compilation error. But I am getting this when I run the code: java.lang.NoSuchMethodError: org.jfree.data.xy.XYSeries.<init>(Ljava/lang/Comparable;)V Could someone please help me figure out what's going