小编Vin*_*cha的帖子

在VB6中单选按钮之间的标签

我有一个表格,它由一个框架内的六个单选按钮和一个命令按钮组成.

我已经为每个单选按钮提供了不同的tab-index,但是在运行时通过按Tab键焦点跳过单选按钮.

那么如何通过按TAB将焦点放在另一个单选按钮上?

vb6 radio-button tabindex

6
推荐指数
1
解决办法
2104
查看次数

VB6应用程序停止响应

我有一个用VB6编写的程序,它读取一个长文本文件并执行很长时间的操作.我也实现了进度条,但我的问题是,在我的程序说"没有响应"之后,它在任务完成时再次开始响应.

如何删除此"无响应"问题?

vb6 windows-process

5
推荐指数
1
解决办法
3305
查看次数

如何将Uri图像压缩为位图

这段代码向我显示一个错误,我想将所选图像保存到数据库并进行检索我遵循这两个教程http://nizaqatali.wordpress.com/2011/06/21/android-dialog-select-image-from-gallery/ 这个 http://androidhub4you.blogspot.com/2012/09/hello-friends-today-i-am-going-to-share.html 但是这个问题出现了错误信息"方法压缩(Bitmap.CompressFormat,int ,ByteArrayOutputStream)未定义类型Uri"

         import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import android.app.Activity;
 import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
 import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;

 public class SQLiteDemoActivity extends Activity {



final int SELECT_PHOTO = 0;
 ArrayList<Contact> imageArry = new ArrayList<Contact>();
 ContactImageAdapter adapter;
 Button BrowseButton;
 DataBaseHandler db;

 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

 db = new DataBaseHandler(this);
//get image from drawable
//Bitmap image = …
Run Code Online (Sandbox Code Playgroud)

compression android bitmap bitmapimage

4
推荐指数
1
解决办法
1万
查看次数

如何在GeckoFX 29中处理下载

如何在GeckoFx中处理下载我正在使用版本29 我发现了一些方法,比如添加事件
LauncherDialog_Download(object sender, LauncherDialogEvent e) 但是,我无法为此事件添加处理程序

我试过这个处理程序

LauncherDialogFactory.Register();
LauncherDialog.Download += LauncherDialog_Download;
Run Code Online (Sandbox Code Playgroud)

但是,它显示为错误,我如何添加处理程序
,还有其他方法来处理GeckoFx 29中的下载吗?

.net c# gecko xulrunner geckofx

2
推荐指数
1
解决办法
4282
查看次数