vb.net小白求救 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs5
本版专家分:2062
Bbs1
本版专家分:0
Bbs1
本版专家分:0
小白求救(vs)
本人<em>小白</em>一个刚刚接触C语言按照书上的例子写了一个程序不料出现了一下的情况还希望大神指教
程序小白求救。sos
[img=https://img-bbs.csdn.net/upload/201609/17/1474091327_479691.jpg][/img]rnrn求教:将100~200之间的素数输出的算法流程图。。辅导教材写的没看懂。。。
hibernate 错误,小白求救!!
我是按照马士兵视频一步一步来的,我所用的版本是hibernate3.6,他用的是3.3.2,然后我在运行时就出现问题了,错误如下:rnException in thread "main" java.lang.NoClassDefFoundError: com/lv/hibernate/model/student (wrong name: com/lv/hibernate/model/Student)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)rn at java.net.URLClassLoader.access$000(URLClassLoader.java:56)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:195)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:169)rn at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)rn at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:228)rn at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:316)rn at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:451)rn at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:384)rn at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:323)rn at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:174)rn at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3948)rn at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3940)rn at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3928)rn at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1368)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1826)rn at StudentTest.main(StudentTest.java:15)rn配置文件之一:Student.hbm.xmlrn[code=XML]rnrnrnrn rn rn rn rn rn[/code]
老哥们 小白求救
可变交通标志牌限速值与超速摄像机抓拍参数同步修改 这个用的是什么技术啊 有老哥知道么
sqlite的问题。小白求救。。
各位大大 问题如下。。 想把数据库的数据用listview显示出来.在插入数据时候用键值对显示在listview上rn但就是 ID这一个显示为null. 下面为代码rnrnrn[color=#FF0000]java code:[/color]rnrn[color=#FF0000]sqldbhelp.java[/color]rnrnpublic class DBhelp extends SQLiteOpenHelperrn private final static int DataBaseVesion= 1;rn private final static String DATABASE_NAME="DataBase.db";rn public DBhelp(Context context, String name, CursorFactory factory,rn int version) rn super(context, name, null, version);rn // TODO Auto-generated constructor stubrn rnrn @Overridern public void onCreate(SQLiteDatabase db) rn // TODO Auto-generated method stubrn db.execSQL("create table if not exists user(id integer AUTOINC primary key ,name varchar(20) not null , age INTEGER not null )"); rn db.execSQL("insert into user(id,name,age)values(?,?,?)",new Object[]1,"feifeishijie",18);rn db.execSQL("insert into user(id,name,age)values(?,?,?)",new Object[]2,"cccccc",20);rn rnrn @Overridern public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) rn // TODO Auto-generated method stubrn rn rnrnrnrnrnrn[color=#FF0000]rnmainactivity.java[/color]rnrnrnpublic class MainActivity extends Activity implements OnClickListener,rn OnItemSelectedListener rn private ListView listView;rn private Button saveButton;rn private EditText editText_Name;rn private EditText editText_Age;rn private SQLiteDatabase sqLiteDatabase;rn private LayoutInflater inflater;rn private String[] provinces = new String[]"编辑","删除","帮助";rnrn DBhelp dBhelp;rn Cursor cursor;rn List> items;rn ListAdapter adapter;rn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.main);rn listView = (ListView) findViewById(R.id.listview1);rn saveButton = (Button) findViewById(R.id.save_button);rn editText_Name = (EditText) findViewById(R.id.EditText_Name);rn editText_Age = (EditText) findViewById(R.id.EditText_Age);rn saveButton.setOnClickListener(this);rn dBhelp = new DBhelp(this, "DataBase.db", null, 1);rn sqLiteDatabase = dBhelp.getReadableDatabase();rn cursor = sqLiteDatabase.rawQuery("select id ,name,age from user", null);rn items = new ArrayList>();rn for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) rn Map item = new HashMap();rn // int nameindex=cursor.getColumnIndex("name");rn // String nameString=cursor.getColumnName(nameindex);rn // int ageindex=cursor.getColumnIndex("age");rn // String ageString=cursor.getColumnName(ageindex);rn String id = cursor.getString(cursor.getColumnIndex("id"));rn Log.d("id_____________________!", id+"");rn String name = cursor.getString(cursor.getColumnIndex("name"));rn String age = cursor.getString(cursor.getColumnIndex("age"));rn item.put("id", id);rn item.put("name", name);rn item.put("age", age);rn //System.out.println("namestring----" + name);rn items.add(item);rn rn adapter = new ListAdapter(items);rn listView.setAdapter(adapter);rn listView.setOnItemSelectedListener(this);rn rn public void refsesh()rn dBhelp = new DBhelp(this, "DataBase.db", null, 1);rn sqLiteDatabase = dBhelp.getReadableDatabase();rn cursor = sqLiteDatabase.rawQuery("select id,name,age from user", null);rn items = new ArrayList>();rn for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) rn Map item = new HashMap();rn // int nameindex=cursor.getColumnIndex("name");rn // String nameString=cursor.getColumnName(nameindex);rn // int ageindex=cursor.getColumnIndex("age");rn // String ageString=cursor.getColumnName(ageindex);rn String id = cursor.getString(cursor.getColumnIndex("id"));rn String name = cursor.getString(cursor.getColumnIndex("name"));rn String age = cursor.getString(cursor.getColumnIndex("age"));rn item.put("id", id);rn rn item.put("name", name);rn item.put("age", age);rn //System.out.println("namestring----" + name);rn items.add(item);rn Log.d("id_____________________________!", String.valueOf(id));rn rn adapter = new ListAdapter(items);rn listView.setAdapter(adapter);rn listView.setOnItemSelectedListener(this);rn rn rn rnrn class ListAdapter extends BaseAdapter rn public List> list;rnrn public ListAdapter(List> list) rn this.list = list;rn rn rnrn @Overridern public int getCount() rn return list.size();rn rnrn @Overridern public Object getItem(int positon) rn // TODO Auto-generated method stubrn return list.get(positon);rn rnrn @Overridern public long getItemId(int positon) rn // TODO Auto-generated method stubrn return positon;rn rnrn @Overridern public View getView(int positon, View contenView, ViewGroup parent) rnrn inflater = LayoutInflater.from(MainActivity.this);rn View view = inflater.inflate(R.layout.item, null);rn TextView Text_id = (TextView) view.findViewById(R.id.Text_id);rn TextView Text_name = (TextView) view.findViewById(R.id.Text_name);rn TextView Text_age = (TextView) view.findViewById(R.id.Text_age);rn Map map = list.get(positon);rn // System.out.println("map.get(name)-----"+map.get("name"));rn Text_id.setText(map.get("id")+"");rn Text_name.setText(map.get("name") + "");rn Text_age.setText(map.get("age") + "");rn return view;rn rn rnrn rn @Overridern public boolean onCreateOptionsMenu(Menu menu) rn // Inflate the menu; this adds items to the action bar if it is present.rn getMenuInflater().inflate(R.menu.main, menu);rn return true;rn rnrn @Overridern public void onItemSelected(AdapterView parent, View contenView, int positon,rn long id) rn // TODO Auto-generated method stubrn Log.d("onitem", "onitemselected");rn new AlertDialog.Builder(MainActivity.this).setTitle("123").rn setItems(provinces, new DialogInterface.OnClickListener() rn rn @Overridern public void onClick(DialogInterface dialog, int which) rn // TODO Auto-generated method stubrn rn switch (which) rn rn case 0:rn Toast.makeText(MainActivity.this, "case______________!000", Toast.LENGTH_SHORT).show();rn break;rnrn case 1:rn break;rn rn case 2:rn break;rn rn Log.d("which", String.valueOf(which));rn rn ).show();rnrn rnrn @Overridern public void onNothingSelected(AdapterView arg0) rn // TODO Auto-generated method stubrnrn rnrn //保存按钮rn public void save() rn DBhelp dbHelper = new DBhelp(this, "DataBase.db", null, 1);rn sqLiteDatabase = dbHelper.getWritableDatabase();rn sqLiteDatabase.beginTransaction();rn String editname = editText_Name.getText().toString().trim();rn Integer age = Integer.parseInt(editText_Age.getText().toString().trim());rn if (editname != null) rn if (age !=null) rnrn sqLiteDatabase.execSQL("insert into user(name,age)values(?,?)",rn new Object[] editname, age );rn Log.d("editname_________________________!", editname + "" + age);rn sqLiteDatabase.setTransactionSuccessful();rn sqLiteDatabase.endTransaction();rn Toast.makeText(this, "保存成功", Toast.LENGTH_SHORT).show();rn //刷新maprn rn /*Map map=new HashMap();rn map.put("name",editname);rn map.put("age",age);rn adapter.list.add(map);rn adapter.notifyDataSetChanged();*/rnrn else rn Toast.makeText(this, "输入的类型不正确,请重新输入", Toast.LENGTH_SHORT)rn .show();rn editText_Age.setText("");rn rn else rn Toast.makeText(this, "输入的类型不正确,请重新输入", Toast.LENGTH_SHORT).show();rn editText_Name.setText("");rn rnrn rnrn rn @Overridern public void onClick(View view) rn // TODO Auto-generated method stubrn switch (view.getId()) rn case R.id.save_button:rn save();rn refsesh();rn break;rnrn default:rn break;rn rn rnrnrnrnrnrnrnrn
小白求救~!! iis 配置问题
代码在本机的iis上跑没问题rn服务器上报错rnServer Error in '/hauntedmicroblog' Application.rn--------------------------------------------------------------------------------rnrnCompilation Error rnDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. rnrnCompiler Error Message: CS0002: Unable to load message string from resources.rnrnSource Error:rnrn rnrn[No relevant source lines]rn rnrnSource File: Line: 0 rnrnrnrnShow Detailed Compiler Output:rnrnrnc:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\a696d9f8\0037a101_e7d8cd01\Newtonsoft.Json.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\5dc0542d\00ca9f6a_5524ce01\HT.BaseClass.DataAccess.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\2a902cb1\0066095b_e7d8cd01\PanGu.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\040382b6\0027a8a1_281ece01\HT.BaseClass.Entities.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\b33de016\0024026d_5524ce01\App_Web_bjn1afzk.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\08a74dd8\0027a8a1_281ece01\HT.BaseClass.SysFrameWork.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\e2825b26\00ca9f6a_5524ce01\HT.BaseClass.BusinessRules.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\0fbab348\0020a17d_d21ece01\HT.SinaAPILoaderV2.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\4ea8674a\00f7d06b_5524ce01\App_global.asax.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\b92f5476\00f7d06b_5524ce01\App_Code.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\assembly\dl3\c8851146\0066095b_e7d8cd01\log4net.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\App_Web_authorization.aspx.cdcab7d2.h3se4hn6.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\lwk2te5w.res" /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\App_Web_authorization.aspx.cdcab7d2.h3se4hn6.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\hauntedmicroblog\7cc885eb\24b1221\App_Web_authorization.aspx.cdcab7d2.h3se4hn6.1.cs"rnrnrnrnfatal error CS0002: Unable to load message string from resources.rnfatal error CS0002: Unable to load message string from resources.rnrn rnrnrnrnrn--------------------------------------------------------------------------------rnVersion Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 rnrnrn试过重新注册.net4.0 rn试过重新把iis安装补全rn都不行rn<em>小白</em><em>求救</em>啊~~~~
c++小白求救
输入若干行正文,输出其中含有给定单词的那些行。rn例如输入正文为:rnThe expression exprl is evaluated first.rnIf it non-zero(true), then the expressionrn给定单词为“is”,则输出为rnThe expression exprl is evaluated first.rn要求:用子函数完成判断,在主函数中输入和输出文本。rn
小白求救 DAO的问题
ICustomerDAO.getaa()rnDAO里面的方法一用就抛空指针 检查了下配置文件没发现什么错误 蒙圈了rn下面是全部代码rnrn[code=java]rnCustCustomerAction.javarnrnimport java.io.Serializable;rnimport java.util.Map;rnrnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnimport net.sf.json.JSONObject;rnrnimport org.apache.struts2.interceptor.ApplicationAware;rnimport org.apache.struts2.interceptor.ServletRequestAware;rnimport org.apache.struts2.interceptor.ServletResponseAware;rnimport org.apache.struts2.interceptor.SessionAware;rnimport org.hibernate.criterion.Restrictions;rnrnimport com.javalines.hibernate.dao.base.IBaseDAO;rnimport com.javalines.hibernate.dao.cust.ITbCustCustomerDAO;rnimport com.javalines.hibernate.page.EntityView;rnimport com.javalines.hibernate.pojo.cust.TbCustCustomer;rnimport com.javalines.struts2.action.base.BaseAction;rnimport com.javalines.util.AjaxUtils;rnrnpublic class CustCustomerAction extends BaseAction implementsrn ServletRequestAware, ServletResponseAware, SessionAware,rn ApplicationAware rn public final static String ID_LIST_PARAM = "idList";rn public final static String PAGE_NUM_PARAM = "nowPage";rn // requestrn protected HttpServletRequest request;rn // responsern protected HttpServletResponse response;rn // HTTP sessionrn protected Map session;rn // applicationrn protected Map application;rn private ITbCustCustomerDAO ICustomerDAO; rnrn public ITbCustCustomerDAO getICustomerDAO() rn return ICustomerDAO;rn rnrn public void setICustomerDAO(ITbCustCustomerDAO customerDAO) rn ICustomerDAO = customerDAO;rn rnrn public void setApplication(Map arg0) rn this.application = arg0;rn rnrn public void setSession(Map arg0) rn this.session = arg0;rn rnrn public void setServletResponse(HttpServletResponse arg0) rn this.response = arg0;rn rnrn public void setServletRequest(HttpServletRequest arg0) rn this.request = arg0;rn rnrnrn public IBaseDAO getEntityDAO() rn // TODO Auto-generated method stubrn return null;rn rnrn public void checkLoginName()rn tryrn String username = request.getParameter("username");rn [color=#FF0000]System.out.println(ICustomerDAO.getaa());[/color]rn rn AjaxUtils.renderJson(json);rn catch(Exception e)rn e.printStackTrace();rn rn rn rnrnrn[/code]rnrn[code=xml]rnstruts_mall.xmlrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn ../mall/buyerLogin.jsprn /base/500.jsprn /base/vcellException.jsprn /base/duplicateSubmit.jsprn rn rn rn rn rn rn rn rn rnrn rn /result.jsprn rn rn rnrnrn[/code]rnrn[code=java]rnITbCustCustomerDAO.javarnrnrnimport java.io.Serializable;rnrnimport com.javalines.hibernate.dao.base.IBaseDAO;rnimport com.javalines.hibernate.pojo.cust.TbCustCustomer;rnpublic interface ITbCustCustomerDAO extends IBaseDAO rnpublic String getaa();rnrnrn[/code]rnrn[code=java]rnTbCustCustomerDAOImpl.javarnrnrnimport java.io.Serializable;rnrnimport com.javalines.hibernate.dao.base.BaseDAO;rnimport com.javalines.hibernate.pojo.cust.TbCustCustomer;rnrnpublic class TbCustCustomerDAOImpl extends BaseDAO implementsrn ITbCustCustomerDAO rnrn @Overridern public Class getEntityClass() rn return TbCustCustomer.class;rn rnrn public String generateCodeForApp(String type) rn // TODO Auto-generated method stubrn return null;rn rnrn public String generateCodeForCoupon(String type) rn // TODO Auto-generated method stubrn return null;rn rnrn public String generateCodeForCouponPurse(String couponNum, String type) rn // TODO Auto-generated method stubrn return null;rn rnrn public String generateNumForCoupon(String type) rn // TODO Auto-generated method stubrn return null;rn rn rn public String getaa()rn return "bb";rn rnrnrn[/code]rnrnrnrn[code=xml]rnapplicationContext_mall.xmlrnrnrnrnrn rn rn rn rn rn rn rnrn[/code]
Java小白求救
[code=java]class Rootrnrn staticrn System.out.println("Root的静态初始化块");rn rn rn System.out.println("Root的普通初始化块");rn rn public Root()rn rn System.out.println("Root的无参数的构造器");rn rnrnclass Mid extends Rootrnrn staticrn System.out.println("Mid的静态初始化块");rn rn rn System.out.println("Mid的普通初始化块");rn rn public Mid()rn rn System.out.println("Mid的无参数的构造器");rn rn public Mid(String msg)rn rn // 通过this调用同一类中重载的构造器rn this();rn System.out.println("Mid的带参数构造器,其参数值:"rn + msg);rn rnrnclass Leaf extends Midrnrn super();rn staticrn System.out.println("Leaf的静态初始化块");rn rn rn System.out.println("Leaf的普通初始化块");rn rn public Leaf()rn rn // 通过super调用父类中有一个字符串参数的构造器rn super("疯狂Java讲义");rn System.out.println("执行Leaf的构造器");rn rnrnpublic class Testrnrn public static void main(String[] args)rn rn new Leaf();rn new Leaf();rn rn[/code]rnrn求教大神如何执行的,还有this那行,为什么不是两个“Mid的无参数的构造器”
关于vb.net打包发布,求救!
各位高手:rn 我用VB.NET做的B/S结构程序,如何打包发布?在<em>vb.net</em>中.RESX文件是什么文件?作用? 我试着在VB.NET中新建工程->安装模板做,可不知道具体如何做.工程中那些文件有用,需要添加文件,都有那些设置? 诚挚向各个高手<em>求救</em>!!!!
VB.net菜鸟求救!!!!!!
VB.net的组件不会装,俺是那个相当的郁闷呀...rn俺现在在学ASP.net老师叫俺们自己去网上找Microsoft Data Access Components(MDAC)2.7版的下载,还有就是.NET Framework SDK的安装文件与补丁包,俺是找了那个相当的久没有找到哩.就到这里高手地带来<em>求救</em>啦!!!!!rn俺是相当的急,求哪位高手告诉我一个有效的地方可以下载这两个东东的...DOWN速度希望也快点的.rn谢谢啦...急切等待高手的回复!
菜鸟求救VB.NET问题
问题如下:rn程序经由数据库接收实时操作数据。数据每30秒一组,大约1小时为一个生产周期。rn相应的,程序需每30秒计算一次,得出计算结果M,并随时将计算结果M反映到界面上,直到这个生产周期结束。rn现在计算程序已经编完,计算结果也可接受。rnrn问题来了:如果程序只计算一组数据,并将结果反映到界面上,没有问题。rn但是如果每30秒有一个计算结果,如何实现界面一直保持在前端并显示不断变化的计算结果,而程序在后台不停运算?rn(界面布局及结构不变,只是在一个文本框里显示实时计算结果)rnrn不知道俺说清楚没有?俺VB学得很浅,编的程序也简单,程序中,rn在程序循环计算每组数据时候,由于程序没有运行完,不会弹出界面。rn出界面的时候,显示的只是最后一组数据的计算结果。rnrnrn怎样能实现界面一直在前端实时显示计算结果,而程序在后台不停运算???rnrn
求救, VB.NET的数据库连接问题
[code=VB.NET]rnImports SystemrnImports System.DatarnImports System.Data.OleDbrn'namespacern'......................rn Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click rn '最核心的东西rn Dim sqlstr As Stringrn Tryrn sqlstr = "SELECT * FROM t_user WHERE [UserName] = " & "'" & Trim(tbName.Text) & "'" & " and [password] = '" & Trim(tbPassword.Text) & "'"rn Dim dataAdapter = New OleDbDataAdapter(sqlstr, OleDbConnection1)rn Dim dataSet = New DataSetrn dataAdapter.Fill(dataSet)rn '判断有没有这样的记录rn If dataSet Is Nothing Thenrn MsgBox("没有符合条件的记录!")rn Elsern MsgBox("成功!")rn End Ifrn Catch ex As Exceptionrn MsgBox(ex) '怎么书上这样的, 我用VS2008就提示类型不匹配了?rn End Tryrn End Sub[/code]
VB.net做直角坐标系,求救
请问大家,form1中有24个数据,我想在form2中建立直角坐标系(只用第一象限),横坐标是0到23,我想让窗口1中的24个数据显示在窗口2上的坐标系上,并且连成一条曲线,不知道该如何实现,希望大家能给出详细的代码,不胜感激!
求救vb.net程序运行出错
<em>vb.net</em>程序编译通过,但运行时出现rnrnAn unhandled exception of type 'System.Security.SecurityExeception' occurred in D:\WINNT\Microsoft.Net\Frameword\v1.0.2204\System.WinFornrn请问各位是何故?
求救!VB.Net打包的问题
客户机上没有装.Net Framework,所以我打包时要把它打进去,但不清楚要包含哪些程序集或是文件,请各位高手帮帮忙
求救vb.net 数据库连接
本人菜鸟,求助! rn我要将<em>vb.net</em>与access数据库相连接,代码如下: rnrn Private Con As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\db1.mdb; " rn Private connconnection As System.Data.OleDb.OleDbConnection rn Private conncommand As OleDb.OleDbCommand rnrnrn Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click rn Dim conn As New OleDb.OleDbConnection rnrn Dim sql As String = "insert into data (id,shijian,neirong,riqi) values('" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "')" rnrn Dim cmd = New OleDb.OleDbCommand(sql, conn) rn cmd.CommandType = CommandType.TableDirect rnrn rn Try rn conn.Open() rn cmd.ExecuteNonQuery() rn MsgBox("ok! ") rn Catch ex As Exception rn MsgBox("failed! " & ex.ToString()) rn Finally rn conn.Close() rn End Try rn rnrnrn End Sub rn rnrnrn运行后提示: rn the connectionstring has not been initialized!rnrnrn怎么回事?rn小女子叩谢各位!
关于vb.net的,求救
如何判断textbox里面输入的数字是否为合法的日期型呢?谢谢
从VB.net 到C#.net 求救!!!
请帮忙用C#番译一下以下VB语句rndim aa as new class1 'class1是一个类rnrn还有,在VB写ASP.net 我是将一个数据库连接查询与更新方法写到一个模块里,但今天心血来潮想学下C#,谁知C#里没有模块,那应该将连接数据库更新与查询的公共方法写到哪?
小白递归函数,蒙圈了,求救
[code=c]rn#include "stdafx.h"rn#includernusing namespace std;rnrndouble sum=0;rnint FenZi=1;rnint FenMu=0;rnrndouble FenShuLianJia(int n)rnrn if(n>0)rn rn FenMu=FenMu+1;rn FenZi=FenMu+1;rn rn sum+=FenZi/FenMu;rn rn return FenShuLianJia(n-1);rn rn elsern rn return sum;rn rnrnrnint main()rnrn int CiShu=0;rn cin>>CiShu;rn cout<
小白第一次来这求救!!
[code=c]void CDialog_DGADD::OnEditDGNum() rn rn DWORD Clength = m_BianHao.GetLength();rn Clength = CString(m_BianHao).GetLength();rn UpdateData();rn if (Clength != 9)rn rn CButton *pB = (CButton*)GetDlgItem(IDOK);rn pB->EnableWindow(FALSE);rn rn[/code]rn在EDIT编辑框中输入字符串,不够9位把OK键变成灰,但是OK键一直是灰色的。。怎么破
求救!网站小白!手机自适应!
有没有大神指点下网站可以适应手机的。。不知道能不能贴域名!www。uceea。com
关于Weblogic的小白问题...求救
为什么 我一运行Weblogic9.2 就跳出Weblogic的一个配置网页Welcome to BEA WebLogicServer网页(http://172.16.124.18:7001/index.jsp),哪里配置他啊....谢~
小白学web,大神求救
[b]bean类代码:[/b][color=#FF0000][/color]rnpackage mybean;rnrnpublic class AccountInfoBean rn private String name;rn private String password;rn private String sex;rn private String identity;rn private String nativeplace;rn private String email;rn private String number;rn private String bank;rn private String money_count;rn private String banknum;rn public AccountInfoBean() rn // TODO Auto-generated constructor stubrn rnrn public AccountInfoBean(String name, String password, String sex,rn String identity, String nativeplace, String email, String number,rn String bank, String money_count, String banknum) rn super();rn this.name = name;rn this.password = password;rn this.sex = sex;rn this.identity = identity;rn this.nativeplace = nativeplace;rn this.email = email;rn this.number = number;rn this.bank = bank;rn this.money_count = money_count;rn this.banknum = banknum;rn rnrn public void set_banknum(String s)rn rn banknum=s;rn rn public String get_banknum()rn rn return banknum;rn rn public void set_name(String s)rn rn name=s;rn rn public String get_name()rn rn return name;rn rn public void set_password(String s)rn rn password=s;rn rn public String get_password()rn rn return password;rn rn public void set_sex(String s)rn rn sex=s;rn rn public String get_sex()rn rn return sex;rn rn public void set_identity(String s)rn rn identity=s;rn rn public String get_identity()rn rn return identity;rn rn public void set_nativeplace(String s)rn rn nativeplace=s;rn rn public String get_nativeplace()rn rn return nativeplace;rn rn public void set_email(String s)rn rn this.email=s;rn rn public String get_email()rn rn return email;rn rn public void set_number(String s)rn rn number=s;rn rn public String get_number()rn rn return number;rn rn public void set_bank(String s)rn rn bank=s;rn rn public String get_bank()rn rn return bank;rn rn public void set_Money_count(String s)rn rn this.money_count=s;rn rn public String get_Money_count()rn rn return money_count;rn rnrnrn[b]servlet的代码:[/b][color=#FF0000][/color]rnrnrnimport java.io.*;rnrnimport mybean.*;rnrnimport javax.servlet.RequestDispatcher;rnimport javax.servlet.ServletException;rnimport javax.servlet.annotation.WebServlet;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnimport javax.servlet.http.HttpSession;rnrnrn/**rn * Servlet implementation class loginServletrn */rn@WebServlet(name="loginServlet",urlPatterns="/login2.do","/homepage","/doMoney","/viewInformation","/in_Money","/out_Money")rnpublic class LoginServlet extends HttpServlet rn private static final long serialVersionUID = 1L;rn// User us=new User();rn rn /**rn * @see HttpServlet#HttpServlet()rn */rn public LoginServlet() rn super();rn // TODO Auto-generated constructor stubrn rnrn /**rn * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)rn */rn protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn // TODO Auto-generated method stubrn String uri = request.getRequestURI();rn // 根据请求URI决定调用哪个方法rn if (uri.endsWith("/viewInformation")) rn viewInformation(response);rn else if (uri.endsWith("/in_Money")) rn in_Money(request, response);rn else if (uri.endsWith("/out_Money")) rn out_Money(request, response);rn rn rn rnrn private void viewhomepage(HttpServletRequest request,rn HttpServletResponse response) throws IOException rn // TODO Auto-generated method stubrn rnrn private void out_Money(HttpServletRequest request,rn HttpServletResponse response) throws IOException rn // TODO Auto-generated method stubrn rn rnrn private void in_Money(HttpServletRequest request,rn HttpServletResponse response) throws IOException rn // TODO Auto-generated method stubrn response.setContentType("text/html;charset=UTF-8");rn rn rn private void viewInformation(HttpServletResponse response) throws IOException rn // TODO Auto-generated method stubrn response.setContentType("text/html;charset=UTF-8");rn rnrn /**rn * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)rn */rnrn protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn // TODO Auto-generated method stubrn String banknum=request.getParameter("banknum");rn String password=request.getParameter("password");rn String name=null;rn String sex=null;rn String identity=null;rn String nativeplace=null;rn String email=null;rn String number=null;rn String bank=null;rn String money_count=null;rn boolean temp=false;rn rn rn response.setContentType("text/html;charset=UTF-8");rn PrintWriter out = response.getWriter();rn tryrn rn String filename="D:/eclipseEE/eclipse-jee-luna-SR2-win32-x86_64/eclipse/homework7/src/AccountInfo.txt";rn FileReader fr=new FileReader(filename);rn BufferedReader br=new BufferedReader(fr);rn String str=null;rn String []st=new String[10];rn while((str=br.readLine())!=null)rn rn rn st=str.split(" ");rn if(st[8].equals(banknum)&&st[1].equals(password))rn rn temp=true;rn name=st[0];rn sex=st[2]rn identity=st[3]rn nativeplace=st[4];rn email=st[5];rn number=st[6];rn bank=st[7];rn money_count=st[9];rn AccountInfoBean aib=new AccountInfoBean(name,password,sex,identity,nativeplace,email,number,bank,banknum,money_count);rn HttpSession session=request.getSession();rn session.setAttribute("aib", aib);rn RequestDispatcher rd=request.getRequestDispatcher("viewHomePage.jsp");rn rd.forward(request, response);rn rn rn if(!temp)rn rn out.println("登录名或登录密码错误!");rn rn rn rn br.close();rn fr.close();rn rn catch(IOException e)rn rn //e.getStackTrace();rn rn rn rnrnrnrnrn[b]jsp的代码:[/b][color=#FF0000][/color]rnrnrnrnrnrnrnrnrn rn Insert title herernrnrnrnrnrnrnrn总是出现Cannot find any information on property 'password' in a bean of type 'mybean.AccountInfoBean'的错误,事实上,不管getProperty中的property改成bean的哪一个属性,都会有这个错误,到底是哪里错了。
数据库外键问题,小白求救
DROP TABLE IF EXISTS `t_cart`;nCREATE TABLE `t_cart` (n `id` int(11) NOT NULL auto_increment COMMENT '主键',n `createtime` varchar(255) default NULL COMMENT '添加时间',n `sl` int(11) NOT NULL default '0' COMMENT '购买数量',n `total` double default NULL COMMENT '小计',n `productid` int(11) default NULL COMMENT '关联的商品,外键',n `userid` int(11) default NULL COMMENT '用户 关联用户的ID 外键',n PRIMARY KEY (`id`),n KEY `FKCB4CD02B8FC017A7` (`productid`),n KEY `FKCB4CD02B1433B443` (`userid`)n) ENGINE=InnoDB DEFAULT CHARSET=utf8;nn这段代码里的两个外键‘FKCB4CD02B8FC017A7’‘FKCB4CD02B1433B443’是什么意思?nKEY `FKCB4CD02B8FC017A7` (`productid`),nKEY `FKCB4CD02B1433B443` (`userid`)
高分求救VB.NET通信问题!
大家好,我使用VB做串口通讯没有问题,最近遇到一个研华UNO产品,操作系统是WinCE4.2,所以用到串口通讯和Socket通讯问题,希望大家给予帮助,谢谢!rn1、VB6.0通过Mscomm控件很好实现,VB.NET怎么实现,能给个发送和接收的例子吗?rn2、VB6.0做Socket通讯不论是UDP协议还是TCP/IP协议都很方便,VB.NET怎么实现。rn3、假如我设备使用VB.NET做Socket通讯的Client或者Serve,PC机使用VB做Socket通讯的Serve或者Client,两个不同的操作系统能否通讯成功!rnrn 希望大家给予帮助,我这里分有的是,不胜感激!rn QQ:314482554
新手求救vb.net调用存储过程
在<em>vb.net</em>中我这样给存储过程设了参数rnDim pYm As New SqlParameter("@pMonth", SqlDbType.VarChar)rn pYm.Value = strYMrn cmdMonthlyClosed.Parameters.Add(pYm)rn其中strYM的值为"2007/01/01"rn存储过程rnIf NOT Exists(SELECT * FROM FMonth WHERErnYEAR(Month) = YEAR(Convert(datetime,@pMonth))rn AND MONTH(Month) = MONTH(Convert(datetime, @pMonth)))rn Beginrn Return -1rn Endrn运行时老是说Syntax error converting datetime from character string.rn而我单独执行SELECT * FROM FMonth WHERErnYEAR(Month) = YEAR(Convert(datetime,'2007/01/01'))rn AND MONTH(Month) = MONTH(Convert(datetime, '2007/01/01'))rn却有记录返回,该怎么办啊?
求救vb.net和excel的问题 百分比
我用<em>vb.net</em>生成一个空白的excel文件后,他默认的显示大小是100%,就是右上角图形描画旁边的那个下拉框里的百分比,现在我想在程序里生成此excel的时候就设置他的显示比例为75%。。如何做/???请教!
求救vb.net中实现标签页?
要在网页上实现类似于windows应用程序中标签的标签页,如何做啊?rn而且每个标签页中的内容、控件必须动态生成。rnrn谢先
vb.net 怎样修改XML,求救
想写一个软件加密程序,把密码写入XML里,不知<em>vb.net</em> 怎样读写XML 很急
vb.net 谁会用datagrid 求救
Dim j As DataRowrnj = ds.Tables("学生信息").Rows.Find(TextBox1.Text)rn得到行集j后。。把他用datagrid显示出来。。rn白菜小哥我第二次用这个控件。百度说把j放到表里再用DataSource 绑定。图书馆给的方法我看不懂。。<em>求救</em>啊。。。求大神给代码。。。rn Dim bm As BindingManagerBasern Dim ds As New DataSetrn Dim sqlda As String = "select * from 学生信息"rn Dim con As String = "data source=.;Initial Catalog=CStudent;integrated security=true"rn Dim da As New SqlDataAdapter(sqlda, con)rn Dim j As DataRowrnrnrnrn Private Sub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loadrn da.MissingSchemaAction = MissingSchemaAction.AddWithKeyrn da.Fill(ds, "学生信息")rn bm = Me.BindingContext(ds, "学生信息")rn DataGrid1.DataSource = ds.Tables("学生信息")rn End Subrnrn Private Sub ToolBar1_ButtonClick(ByVal sender As Object, ByVal e As ToolBarButtonClickEventArgs)rn Select Case e.Button.Textrn Case "首记录"rn DataGrid1.UnSelect(bm.Position)rn bm.Position = 0rn DataGrid1.Select(bm.Position)rn Case "上一记录"rn If bm.Position <> 0 Thenrn DataGrid1.UnSelect(bm.Position)rn bm.Position -= 1rn DataGrid1.Select(bm.Position)rn End Ifrn Case "下一记录"rn If bm.Position <> bm.Count Thenrn DataGrid1.UnSelect(bm.Position)rn bm.Position += 1rn DataGrid1.Select(bm.Position)rn End Ifrn Case "尾记录"rn DataGrid1.UnSelect(bm.Position)rn bm.Position = bm.Count - 1rn DataGrid1.Select(bm.Position)rnrn Case "退出"rn Me.Close()rn Form2.Show()rn End Selectrn End Subrnrn Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clickrn If TextBox1.Text.Length > 0 Thenrn j = ds.Tables("学生信息").Rows.Find(TextBox1.Text)rn DataGrid1.DataSource = ds.Tables("j")rn End Ifrn If TextBox2.Text.Length > 0 Thenrn j = ds.Tables("学生信息").Rows.Find(TextBox2.Text)rn 'DataGrid1.DataSource = ds.Tables("j")rn End Ifrn If TextBox3.Text.Length > 0 Thenrn j = ds.Tables("学生信息").Rows.Find(TextBox3.Text)rn 'DataGrid1.DataSource = ds.Tables("j")rn End Ifrn End SubrnEnd Class
VB.NET简单判断语句,求救
DetailID snamern1 语文rn2 数学rn5 英语rn8 设计rn10 政治rn25 美术rn32 地理rn11 广告rn70 化学rnrn这是数据库中其中一个表中的信息。rnrn我的问题是:rnrn循环这些数据,如果DetailID=8的时候,取得数据: 语文,数学,英语,设计rn 如果DetailID=25的时候,取得数据: 语文,数学,英语,设计,政治,美术rn 如果DetailID=8的时候,取得数据: 语文,数学,英语,设计,政治,美术,地理,广告rn如果DetailID数据中没有8,25,11,sname 数据为空。rnrn<em>求救</em>,再此先感谢大家了。
求救c#转换成VB.NET的工具
以前我自己用c#写了一个购物车,rn现在老总要求我转换成<em>vb.net</em>的,rn没办法,我找拉很多工具转换不成功,rn请问大家有没有好的方法,或者给我一个<em>vb.net</em>的购物车实例学习,谢谢!
小白小白小白
谢谢谢谢谢谢谢谢谢谢谢谢求积分积分积分积分积分积分积分积分积分积分积分积分积分积分积分积分积分积分拜托拜托拜托拜托拜托拜托 人生不易只求积分谢谢谢谢谢谢谢谢谢谢谢谢拜托拜托拜托拜托拜托拜托人生不易只求积分谢谢谢谢谢谢谢谢谢谢谢谢拜托拜托拜托拜托拜托拜托人生不易只求积分谢谢谢谢谢谢谢谢谢谢谢谢拜托拜托拜托拜托拜托拜托人生不易只求积分谢谢谢谢谢谢谢谢谢谢谢谢拜托拜托拜托拜托拜托拜托人生不易只求积分谢谢...
小白求救!!!joomla3.x 安装问题 数据库不能链接
[img=https://img-bbs.csdn.net/upload/201405/06/1399362254_679714.jpg][/img]
CE小白被CE整惨了,求救!!
先自我介绍,我不是一名IT技术人员,但平时喜欢琢磨,对PC硬件和系统还是有一定的应用基础。但对CE就是纯<em>小白</em>了。rn但这段时间被一个WINCE设备上的问题难住 了,在这里请高手指点了。rnrn是这样,我车上有一个DVD导航一体机,为MIPS架构的CE5系统,内带存储卡分为两个分区INand和INand2,我不懂但怀疑内置存储为nandflash,这两个分区一个用来放导航文件,一个用来放一体机程序文件。rnrn因为我喜欢折腾,所以经常给它升级下导航软件之类的。我用的方法是用外置SD卡里放入一个CECMD(资源管理器),改成一个特定文件名后插入卡便能自动运行此文件,然后将导航软件进行替换。rnrn几次折腾都正常,我还有些小得意,但不久前再次更换导航文件犯了一个小错误而导致整个机器不能使用,犯错原因就是我用PC上的经验对CE的内存储进行了格式法。具体是这样的,这次因为导航文件较大,而内置分区INand只有3.2G,这想清理出足够空间,所以想将INand分区格式化,清理一下空间。于是我在资源管理器里打开控制面板,再打开存储管理,进行了格式化操作,当时没多想,结果一格式化,发现我是将整个内存储卡格式化了,也就是说INand和INand2两个分区都没了,并且内存储还被我缷除了。如此一来,我这个一体机就成半砖了。一体机的DVD、收音机、导航等功能都不能用了,但用外置SD卡放上Cecmd还是可以进入CE系统。如图所示,我还是可以从存储管理器里看到3.7G容量的内存储卡,但下面分区为空了。rn[img=http://www.autoimg.cn/album/userphotos/2012/9/16/500_4143_42cdd99c_42cdd99c.jpg?8712][/img]rnrn之后我想挽救,便以PC操作经验来重建分区,但问题来了,当我点击新建分区,无法输入分区名,因为不弹出虚拟键盘,而且我反复尝试发现在资源管理器里操作,比如重命名文件是有虚拟键盘的,只要进行控制面板,虚拟键盘就打不开了,甚至在输入框长按也不会出现复制粘贴菜单。rnrn所以我现在想求教的就是,哪位高手有没有办法教我重建内存储的两个分区,只要分区建立好了,相关的文件我都有备份,就可以起死回生了。
新人求救(问题可能有点小白
#includernusing namespace std;rnclass xlrnprivate:rnpublic:rn int *v;rn int len;rn xl (int mun);rn xl (int * ,int);rn xl operator+(xl);rn xl operator-(xl);rn xl operator*(xl);rn friend ostream & operator << (ostream & output,const xl &);rn friend istream & operator >> (istream & intput,const xl &);rn;rnxl::xl(int mun)rnrn if(mun 100)rn cout< a.v[i];rn return input;rnrnxl xl::operator+(xl & X, xl & Y)rnrn int mun = X.len;rn int *t=new int[mun];rn for(int i=0;i>k;rn xl X(k), Y(k),Z(k);rn cout<<>X;rn cout<<>Y;rncout<<>' : operator has no effect; expected operator with side-effectrnerror C2511: '+' : overloaded member function 'class xl (class xl &,class xl &)' not found in 'xl'rn see declaration of 'xl'rn '+' : overloaded member function 'class xl (class xl &,class xl &)' not found in 'xl'rn see declaration of 'xl'rn error C2511: '*' : overloaded member function 'double (class xl &,class xl &)' not found in 'xl'rn see declaration of 'xl'rn新人求教QAQ第一次发帖,如有问题,请见谅QAQ
求救~~小白的kali linux 开不了了
[img=https://img-bbs.csdn.net/upload/201802/25/1519567295_874605.png][/img]rn如图,用了好多天了,突然这个样子了,打不开了,求大神救救<em>小白</em>吧[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/5.gif][/img]rn
小白求救,如何跳转不同界面
如何[i]在winfrom中通过连接数据库得到不同的账号进入不同的窗体。列如我数据库连上了我有个名单,每个人有不同权限,通过不同的权限跳转不同的窗体,如administrator登陆了可以跳转from1,而Guest只能跳转from2以此类推。我数据库里有表标明权限rn
小白求救,this和作用域有啥关系
第一种,this指向的是a对象nrn rnnn第二种,this指向的是windownrn rnnn不是说哪个对象调用的就是谁的this吗,为啥还和作用域扯上关系了[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
[小白求救]请教一个ExtJS的问题
我修改tabs-adv.js:rn[code=JScript]rn...rnfunction addTab(i)rn tabs.add(rn title: '新标签 ' + (++index),rn iconCls: 'tabs',rn autoLoad: url: "WebForm2.aspx", scripts: true ,rn closable:truern ).show();rnrn...rn[/code]rnrnrn然后有个页面WebForm2.aspx如下rn[code=HTML]rnrn rn rn rn rn rnrn[/code]rnrn然后我在一个页面中写:rn[code=HTML]rnrnrn rn Advanced Tabsrn rnrn rnrn rnrn rnrn rnrn rnrn rnrnrnrn rnrn rn rn rn rn rnrnrn[/code]rnrn然后运行这个界面,能够正常加载WebForm2.aspx,但是我点击WebForm2中的按钮就会报错,说缺少对象,请问是什么原因?rnrnrn小弟第一次用ExtJS,对其还不太了解.多谢
新人求救!!!!求大神指点!纯小白
[img=https://img-bbs.csdn.net/upload/201806/24/1529846205_562561.jpg][/img]rn不知道哪里错了 还有一个代码的图太大了 传不上来。求留下qq或微信 指点我一下rn
小白求救 希望大神们指点迷津
求高手帮忙!!!!rnrnCLASSPATH:.;%JAVA_HOME%lib;%JAVA_HOME%lib\tools.jarrnrnJAVA_HOME:C:\Program Files\Java\jdk1.8.0_121rnrnpath:C:\ProgramData\Oracle\Java\javapath;%C_EM64T_REDIST11%bin\Intel64;%INTEL_DEV_REDIST%redist\intel64\compiler;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%\bin;%JAVA_HOME%\jre\binrnrncmd运行过java javac java -version 都有版本信息rn但是在用cmd运行“Hello World”的时候却显示找不到或无法加载主类hellornrn这是怎么回事?rnrn这是我的代码:rnpublic class Hellorn public static void main(String args[]) rn System.out.println("Hello World!") ;rn rn
小白求标准SQL语法,求救啊!!!
如题,希望得到标准的SQL 语法,而不是各个运营商自己的实现。谢谢!n楼主<em>小白</em>一名,最近在搞数据库的学习,然后发现有ANSI ISO标准,然而ORACLE,SQL SERVER等的支持不太一样,感觉好像遇到了WINDOWS和LINUX下C库的不同实现。n那么,楼主有个问题请教大家,如何获得SQL 2011的标准?而不是各个实现的不同版本,而且想问一下,标准中是否有SQL的标准语法?n<em>小白</em>一名,问题可能可笑,希望大家多多帮助!
求救..小白被困多天了,c币提问..
现在想对一个表内的数据去重,数据类型大概如下,rn[img=https://img-bbs.csdn.net/upload/201710/27/1509066947_609681.png][/img]rnrnrn现在的需求是,sitecode1=sitecode2 的情况,去重,只留一条rn并且,对于交叉相等的情况,比如sitecode1||sitecode2=sitecode2||sitecode1,也去重,只留一条rnrn实在转不过来弯了..rnrn在线等大神们支持.
oracle小白求救:ORA-00907: missing right parenthesis
select a.lsh lsh,a.xm xm,a.xb xb,a.mz mz, rnto_date(to_char(a.djrq,''yyyy-MM-dd''),''yyyy-MM-dd'') djrq, rnto_date(to_char(a.csrq,''yyyy-MM-dd''),''yyyy-MM-dd'') csrq,rna.lxdh lxdh, a.sbzl sbzl,a.sbqk sbqk, a.sfzh sfzh FROM T_YYDJXX a rn这是我的一段查询语句,可是一运行每次都是报错rn报错信息:rn[SQL] select a.lsh lsh,a.xm xm,a.xb xb,a.mz mz, rnto_date(to_char(a.djrq,''yyyy-MM-dd''),(''yyyy-MM-dd'')) djrq, rnto_date(to_char(a.csrq,''yyyy-MM-dd''),(''yyyy-MM-dd'')) csrq,rna.lxdh lxdh, a.sbzl sbzl,a.sbqk sbqk, a.sfzh sfzh FROM T_YYDJXX arn[Err] ORA-00907: missing right parenthesisrnrnrn它说我缺少括号,但是我检查了很久都没发现少了括号啊
小白求救,自绘的ComboBox不响应关联函数
void CWEComboBox::OnCbnSelchange()rnrn Invalidate();rn CComboBox::???????rnrnrnCombobox的自绘类出了点问题,更改选项后没有响应关联函数,ComboBox的Selchange函数是什么?
Form1_Activated的触发问题。求大神。小白求救
为什么我在Form1_Activated编写的事件就算符合条件了但还是要点击其他地方再点回窗口才会触发。这是为什么。rn代码是这样:rnprivate bool busyact;rnprivate void Form1_Activated(object sender, EventArgs e)rnrnif (busyact)rnrnreturn;rnrnbusyact = true;rnthis.Activate();rnrnrnif (pictureBox1.BackgroundImage == pictureBox10.BackgroundImage &&rnpictureBox2.BackgroundImage == pictureBox11.BackgroundImage &&rnpictureBox3.BackgroundImage == pictureBox12.BackgroundImage &&rnpictureBox4.BackgroundImage == pictureBox13.BackgroundImage &&rnpictureBox5.BackgroundImage == pictureBox14.BackgroundImage &&rnpictureBox6.BackgroundImage == pictureBox15.BackgroundImage &&rnpictureBox7.BackgroundImage == pictureBox16.BackgroundImage &&rnpictureBox8.BackgroundImage == pictureBox17.BackgroundImage &&rnpictureBox9.BackgroundImage == null)rnrnMessageBox.Show("你已完成拼图,好厉害!", "Attention",rnMessageBoxButtons.OK, MessageBoxIcon.Information);rnApplication.DoEvents();rnrnrnrnrnrnbusyact = false;rn
小白求救关于intent.setClass的第二个参数~~~~~%>_<%~~~~~
intent.setClass(Context packageContext, Class cls);rnrn第一个参数是context类型是来源的activityrn第二个是要前往的activityrnrn使用的时候 intent.setClass(Bmi.this, Report.class);rnrn问题是Class到底是什么类型?是泛型么?rn如果是泛型那我不是可以传入int等其他类型,但总觉得不可能给他传入这些类型啊,要传入的不是activity么? rn所以到底是什么类型呢= =rn另外,Report.class又是什么?rn第一个参数是来源的activity;第二个是要前往的activity。rn既然两个都是activity,为什么第一个传入的是Bmi类本身,第二个传入的却不是Report而要在后面加个.class...加了以后是什么= =rn网上各种谷歌无果...甚是纠结...rn小弟初学android,java基础也不好...求大侠指点T Trn
IE加载xml的问题,小白求救
下面的代码在FF上没问题,但是在IE上却执行到open函数就不行了,求解啊~~~~~~~rnfunction loadxml()rnrnif (window.XMLHttpRequest)rn // code for IE7+, Firefox, Chrome, Opera, Safarirn xmlhttp=new XMLHttpRequest();rn rnelsern // code for IE6, IE5rn xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");rn rnxmlhttp.open("GET","pic_list.xml",false);rnxmlhttp.send();rnxmlDoc=xmlhttp.responseXML; rn.................rn.................rn
小白求救~~动态数组,指针,继承,面向对象c++
Tiger是Animal的子类rnTigerArr是一个指针指向一组指向Tiger的指针rn```rn Animal **AnimalArr;rn Tiger **TigerArr;rn void f(Animal **arr, int num);//函数原型rn void f(Animal **arr, int num)rnrn for (int i = 0; i < num; i++)rn rn arr[i] = new Animal*(50);//错误一rn//cannot initialize a new value of type 'Animal *' with an rvalue of type 'int'rn rnrncall f:rnf(TigerArr, tigernum);rn错误二:rn cannot initialize a parameter of type 'Animal **' with an lvalue of type 'Tiger **'rn```rnAnimal 构造函数rnrnrn```rn Animal::Animal(const int basef)rn : BaseFoodCost(10)rnrn A = 1;rn C = 0;rn N = 0;rn P = 0;rnrnrn```rnrnrn```rn Tiger::Tiger(const int basef) : Animal(50)rnrn A = 1;rn C = 10000;rn N = 1;rn P = 2000; rnrnrn```rnrn几个问题:rn1. const变量basef在animal类和Tiger类里面有不同的数值,这样初始化可以么?rn2. 不知道如何初始化错误一,arr[i]是指向Animal的一个指针,但是Animal的构造函数必须有一个数值Animal(int),所以该怎么写?rn3. TigerArr = new Tiger*[10];rnrnTiger是Animal的子类,在传递函数的时候,为什么会有错误二
vb.net小白求救,如何在PictureBox上按鼠标指定的点为中心进行缩放
[code=vb]Public Class Form1rnrn Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clickrn PictureBox1.Image = Image.FromFile("\\192.168.0.100\Temp\1.tif")rn End Subrnrn Private Sub PictureBox1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDownrn PictureBox1.Focus()rn End Subrn Private Sub PictureBox1_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseWheelrn PictureBox1.Width += e.Delta rn PictureBox1.Height += e.Deltarn End SubrnEnd Class[/code]rn上面代码有两个问题rn一、装载本地网络图时过慢(大约10秒左右),能否提升:rn二、MouseWheel事件能否按鼠标指定的点为中心进行缩放(现在始终是一个点)rnTKS
小白求救vb.net反复出现System.NullReferenceException: 未将对象引用设置到对象的实例,请大神帮解!
这是一段用全局钩子快捷键后执行的程序,主要目的是对部分内容分词,并写入word文件。调试后反复出现System.NullReferenceException: 未将对象引用设置到对象的实例,且在执行后word文档会退出不知为何。自行查找了很多资料,仍然未解决问题,请大神解答,最好能修改下代码,新手一个要学的太多,实在不太明白,感谢。rn[code=vb]Imports System.Windows.FormsrnImports JiebaNet.SegmenterrnImports Microsoft.Office.Interop.WordrnModule GetWordsrn Public Function My_GetWords() '快捷键ALT+D后执行,获得待处理的句子rn My_GetWords = ""rn Dim app As Word.Application = Globals.ThisAddIn.Application '当前文档rn Dim DocTxt As Stringrn Dim segments As IEnumerable(Of String) '泛型,每个元素都为String类型rn Dim a As Integer = app.Selection.Startrn Dim segmenter = New JiebaSegmenter()rn Tryrn 'If app.ActiveDocument.Range.Words.Count >= 15 Then '如果文章字数大于15个,则始终取得光标之前的15个字rn If app.ActiveDocument.Range.ComputeStatistics(WdStatistic.wdStatisticWords) >= 15 Thenrn DocTxt = app.ActiveDocument.Range(a - 15, a).Text '获取光标前面的字符rn segments = segmenter.CutForSearch(DocTxt)rn My_GetWords = String.Join("/", segments)rn app.Selection.TypeText(My_GetWords)‘此处出问题。rn 'MessageBox.Show("【精确模式】:0", String.Join("/", segments)) 输出测试同样的问题。rn Elsern Return "未知"rn End Ifrn Catch e As System.NullReferenceExceptionrn Finallyrn End Tryrn End FunctionrnEnd Modulern[/code]
诸位大侠,求救求救vb.net关于数据更新--使用InsertCommand?
我想使用OracleDataAdapter,将数据库中的表更新。rn代码如下:rn Public Sub updateDatabase_net(ByVal newDataSet As DataSet, ByVal tableName As String)rn Dim tmpDataAdapter As New OracleDataAdapterrn Dim connectionString As String = "User Id=" + tmpUserName & _rn ";Password=" + tmpPassWord & _rn ";Data Source=" + tmpDataSourcernrn Dim tmpConnection As OracleConnectionrn tmpConnection = New OracleConnection(connectionString)rn tmpConnection.Open() '连接数据库rnrn Dim tmpCommand As New OracleCommandrn tmpCommand.Connection = tmpConnection '设定SQL连接对象rn tmpCommand.CommandType = CommandType.StoredProcedurernrn '创建insert命令rn tmpCommand.CommandText = "insert worker (id,name) VALUES(?,?)"  'worker为数据库表的名称rn tmpCommand.Parameters.Add("@p0", OracleDbType.Long, 4, "id")rn tmpCommand.Parameters.Add("@p1", OracleDbType.Varchar2, 10, "name")rn tmpDataAdapter.InsertCommand = tmpCommandrnrn tmpDataAdapter.Update(newDataSet, tableName) '此处出错,请教!!!!!!!rn End Subrn
vb.net中如何删Excel数据记录?求救求救求救求救
Dim s2 As New jxhDataBase.jxhDataBase(".\数据库\database2.xls") '结果表rns2.ExecQuery("[抽取结果$]", "delete * from [抽取结果$]") '它相当于执行一个ExecuteNonQuery()rnrn以上代码会出现一个错误:rnDeleting data in a linked table is not supported by this ISAM.这是为什么呀~~~!<em>求救</em>!
求救!!!用vb.net写一个DataGrid控件
用<em>vb.net</em>写一个DataGrid控件,如下要求:rnrn1、根据条件,不同的行显示不同的颜色(比如某个单元值为负数该行就为红色)rn2、满足一定条件的行可以编辑,其它不可以(可以为行或单元设置只读或可写属性)rn3、要有ComboBox属性的列(用户可以从ComboBox选择数据,并根据选择刷新其它列的显示)rn4、要有RadioButton属性的列(比如有固定的3项供选择)rn5、要有TextBox属性的列(TextBox只能输入指定范围的数字)rn6、要有自动计算的列(为某两个列的乘积,列变化时自动更新)rn7、左边有居中的行编号rn8、DataGird的打印功能(按照DataGrid的显示打印,有标题页码,自动分页,可选择是否打印边框)rnrn不知道有没有说清楚,因为一直用delphi,对<em>vb.net</em>一点都不熟悉,可是一定要让我用<em>vb.net</em>做,rn郁闷的不得了,只好来这里求各位大侠指点,首先感谢大家了!救救我啊!rnqq:5945802rnmail:57133@sina.comrnmsn:lovexyg@hotmail.com(在线)
求救!!!!!!!!】 C#无法调用vb.net中的窗体
我编的解决方案里面有两个项目,A项目是用<em>vb.net</em>编的,B项目是用C#编的,现在B项目中的程序要引用A项目FrmABC窗体中的combobox的属性值(我把控件名设为CmbNo1),但在编的时候能找到该FrmABC类,但找不到CmbNo1属性。在B项目中我也引用了A项目,请各位大虾们帮帮小弟,小弟不胜感激!!rn以下是我编写的部分代码rn[code=VB.NET]Public Class FrmABCrn Inherits System.Windows.Forms.Formrnrn#Region " Windows 窗体设计器生成的代码 "rnrn Public Sub New()rn MyBase.New()rnrn '该调用是 Windows 窗体设计器所必需的。rn InitializeComponent()rnrn '在 InitializeComponent() 调用之后添加任何初始化rnrn End Subrnrn '窗体重写 dispose 以清理组件列表。rn Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)rn If disposing Thenrn If Not (components Is Nothing) Thenrn components.Dispose()rn End Ifrn End Ifrn MyBase.Dispose(disposing)rn End Subrnrn 'Windows 窗体设计器所必需的rn Private components As System.ComponentModel.IContainerrnrn '注意: 以下过程是 Windows 窗体设计器所必需的rn '可以使用 Windows 窗体设计器修改此过程。rn '不要使用代码编辑器修改它。rn rn Friend WithEvents NUDM1 As System.Windows.Forms.NumericUpDownrn Friend WithEvents CmbNo1 As System.Windows.Forms.ComboBoxrn Private Sub InitializeComponent()rn rn Me.BtnCancel = New System.Windows.Forms.Buttonrn Me.BtnOk = New System.Windows.Forms.Buttonrn Me.CmbNo1 = New System.Windows.Forms.ComboBoxrn Me.GroupBox1.SuspendLayout()rn Me.SuspendLayout()rn 'rn 'GroupBox1rn 'rn rn 'NUDM1rn 'rn Me.NUDM1.DecimalPlaces = 2rn Me.NUDM1.Increment = New Decimal(New Integer() 100, 0, 0, 0)rn Me.NUDM1.Location = New System.Drawing.Point(219, 33)rn Me.NUDM1.Maximum = New Decimal(New Integer() 1410065407, 2, 0, 0)rn Me.NUDM1.Name = "NUDM1"rn Me.NUDM1.Size = New System.Drawing.Size(74, 21)rn Me.NUDM1.TabIndex = 14rn Me.NUDM1.Value = New Decimal(New Integer() 100, 0, 0, 0)rn 'rn 'BtnCancelrn 'rn Me.BtnCancel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)rn Me.BtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancelrn Me.BtnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flatrn Me.BtnCancel.Location = New System.Drawing.Point(258, 329)rn Me.BtnCancel.Name = "BtnCancel"rn Me.BtnCancel.Size = New System.Drawing.Size(80, 24)rn Me.BtnCancel.TabIndex = 4rn Me.BtnCancel.Text = "取 消(&C)"rn 'rn 'BtnOkrn 'rn Me.BtnOk.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)rn Me.BtnOk.DialogResult = System.Windows.Forms.DialogResult.Cancelrn Me.BtnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flatrn Me.BtnOk.Location = New System.Drawing.Point(162, 329)rn Me.BtnOk.Name = "BtnOk"rn Me.BtnOk.Size = New System.Drawing.Size(80, 24)rn Me.BtnOk.TabIndex = 3rn Me.BtnOk.Text = "确 定(&O)"rn 'rn 'rn Me.GroupBox1.Controls.Add(Me.NUDM1)rn Me.GroupBox1.Controls.Add(Me.No1)rn Me.GroupBox1.Location = New System.Drawing.Point(17, 210)rn Me.GroupBox1.Name = "GroupBox1"rn Me.GroupBox1.Size = New System.Drawing.Size(322, 96)rn Me.GroupBox1.TabIndex = 19rn Me.GroupBox1.TabStop = Falsern Me.GroupBox1.Text = "ABCDEFG"rn 'rnrn 'rn 'CmbNo1rn 'rn Me.CmbNo1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownListrn Me.CmbNo1.FormattingEnabled = Truern Me.CmbNo1.Location = New System.Drawing.Point(103, 33)rn Me.CmbNo1.Name = "CmbPeakNo1"rn Me.CmbNo1.Size = New System.Drawing.Size(39, 20)rn Me.CmbNo1.TabIndex = 20rn rn 'rn Me.AcceptButton = Me.BtnOkrn Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)rn Me.CancelButton = Me.BtnCancelrn Me.ClientSize = New System.Drawing.Size(354, 368)rn Me.Controls.Add(Me.BtnCancel)rn Me.Controls.Add(Me.BtnOk)rn Me.Controls.Add(Me.GroupBox1)rn Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialogrn Me.MaximizeBox = Falsern Me.MinimizeBox = Falsern Me.Name = "ABCDE"rn Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParentrn Me.Text = "BCDE"rn Me.GroupBox1.ResumeLayout(False)rn CType(Me.NUDM1, System.ComponentModel.ISupportInitialize).EndInit()rn Me.GroupBox1.ResumeLayout(False)rn Me.ResumeLayout(False)rnrn End Subrnrn#End Regionrnrn Private Sub BtnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOk.Clickrnrn Me.DialogResult = Windows.Forms.DialogResult.OKrnrn End Subrnrn Private Sub BtnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCancel.Clickrn Me.DialogResult = Windows.Forms.DialogResult.Cancelrn End SubrnrnrnEnd Classrn[/code]rnrnrn[code=C#]using System.Windows.Forms;rnusing System.Data;rnusing A;rn......rnprivate void CTD_Click(object sender, EventArgs e) rn rn FrmABC FrmGetParameter;rn FrmParameter =new FrmABC ();rn FrmGetParameter.CmbNo1.SelectedIndex = 0;rnrn [/code]rn但是在FrmGetParameter中没有CmbNo1这个属性,是我哪块设置没设好呢,还是编写的问题呢,纠结中……
求救! vb.net 有sleep()函数吗?
<em>vb.net</em> 有sleep()函数吗?我做个按钮,点击后想暂停1秒再打开窗口,用计时器rn太麻烦,想调用sleep(100)出错,怎么办?
求救,关于vb.net自定义打印的问题
各位大虾:rn 小生在一个小公司工作,一个人开发一个项目,也没有别的人可以交流这个问题,已经好久了,都没解决,请救救我啊!rn 用PrintDocument控件进行打印,打印机型号是Panasonic KX-P1121,我用二中方法设置纸型rn 一、 PrintDocument1.DefaultPageSettings.PaperSize = _ PrintDocument1.PrinterSettings.PaperSizes(PaperKind.Custom)rn二、 Dim printerpaper As New PaperSize("custom", 850, 550)rn PrintDocument1.DefaultPageSettings.PaperSize = printerpaperrn可是结果是一样的都是Letter纸型,我需要的是Letter纸型的一半,请为怎样才能达到目的?rn 谢谢,谢谢。。。一定要帮帮我啊! rn rnrn
求救!关于VB.NET中调试的问题!
我在VB.NET(VS.NET 2003)中调试ASP.NET的代码,调试过程要用到IE,但按F5后IDE提示“无法开始调试。无法找到 Microsoft Internet Explorer。”我本机的IE是好的,打开IE没有任何异常。小弟在此请教各位高人!谢谢!
小妹遇到紧急问题,求救,关于vb.net
有两个问题,均是关于xml的,请大家帮忙,谢谢rnrn1.Dim xml_text_reader As New XmlTextReader("c:\1.xml") 用这个语句,我可以打开并读出xml文件的内容,但是实际情况不是文件,而是直接返回字符串(xml格式),我想直接解析XML字符串,请问怎么操作?rnrn2.xml文件中有多个NewDate数据,请问我怎么判断有多少个newData并读出来?rnrn1rnrnrn2rnrnrn3rn
求救VB.NET中JET数据引擎问题
您好,请问为什么我在使用JET4.0编写程序时SQL中不能使用DESTINCT关键字???感激不尽
VB.NET紧急求救,关于托盘的程序
在VB.NET中,我在一个窗体frmMain中添加了一个icnMain(NotifyIcon控件),和cmuMain(ContextMenu控件),并在设计窗体上设置cmuMain的ContextMenu为cmuMain。cmuMain菜单项有两项:MenuItem6(还原窗体)和MenuItem8(关闭系统)rnrn然后我再添加如下代码:rnrn‘本意是鼠标右击托盘图标时,托盘不显示,窗体恢复原来的Normal状态,并在任务栏上显示rnPrivate Sub MenuItem6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem6.Clickrn icnMain.Visible = Falsern Me.ShowInTaskbar = Truern Me.WindowState = FormWindowState.Normalrn Me.Refresh()rnEnd Subrnrn’本意是如果最小花窗体时,显示托盘图标,窗体不在任务栏上显示,如果是正常情况下托盘不显示,窗体恢复原来的Normal状态,并在任务栏上显示rnProtected Overrides Sub OnResize(ByVal e As System.EventArgs)rn If Me.WindowState = FormWindowState.Minimized Thenrn Me.ShowInTaskbar = Falsern icnMain.Visible = Truern Elsern Me.ShowInTaskbar = Truern Me.Refresh()rn icnMain.Visible = Falsernrn End IfrnEnd Subrnrn‘本意是当关闭系统时同时关闭托盘图标rnProtected Overrides Sub OnClosing(ByVal e As System.ComponentModel.CancelEventArgs)rn If icnMain.Visible = True Thenrn icnMain.Dispose()rn End IfrnEnd Subrnrn现在问题是当窗体最小化时,鼠标右击托盘图标,窗体只在任务栏上显示,但窗体不显示,也就是窗体可以在任务栏上找到,但就是看不到窗体。请问大侠,这是怎么回事?有什么好的办法解决? 最好能提供源代码。谢谢各位了。
无代码高难度VB.NET问题!!求救
picturebox1的image属性和button的image属性显示不出图像!rn在开发环境可以显示出来,一运行就显示不出来了,显示出来的是背景色(窗体中没有加任图形图像的代码)。rnrn还有一个问题,怎么读写中文文件。rn我用filestream感觉很别扭,有其输出加了 STRING.PADRIGHT(abc,"") 后,因为输出要列表,读出来的中文就是乱码。rnrn谢谢!!!
急用!!求救 VB.net sql 打包的问题!??
初次用<em>vb.net</em> 编写了一个小小的数据程序,想在别的机器上运行,但是不知道怎么样打包!!急用,谢谢!!
VB.NET自定义类问题!求救!~急急急!!!
在自定义类中动态生成BUTTON,如何才能添加BUTTON的单击事件啊?
50分求救vb.net制作绿色软件的问题
我做用VB。NET做了一个软件,想把它做成不用安装就直接运行的,而且只有一个.EXE文件,有高手能回答吗?
VB6.0和VB.Net关于结构定义的差异求救
C++中定义rntypedef chr __RPC_FAR ctcDeviceString [ 128 ] ;rnrntypedef struct ctcAssignDatarn rn ctcDeviceString deviceDN;rn rnrnVB6.0中定义rnType ctcAssignDatarn deviceDN(0 To 127) As ByternEnd TypernrnVB.Net中定义rnStructure ctcAssignDatarn Public deviceDN() As Byte '无法初始数组大小,已在程序中初始化了其数组大小rnEnd Structurernrn分别用VB6.0、VB.Net调用C++的.dll接口rnctcAssign(ByRef struct as ctcAssignData)rnrn其中,VB6.0的调用可成功,但VB.Net调用时出错“deviceDN:该类型无法作为结构字段进行封送处理”rnrn问:VB.Net中该如何处理才能调用成功?
火急求救!!vb.net在WinCE下TextBox的ReadOnly属性设置!!
各位大侠rn 小弟我在VB.NET下把TextBox的属性设置成ReadOnly后,但是想把它的灰色背景颜色换成其他的,我在代码里直接设置颜色不成功。windows程序可以,但是在CE上就不行。郁闷死了。rn 请问怎么做,代码怎么写?谢谢~~~
[求救]如何将VB6中的TextWidth升级到VB.NET
VB6的代码rnPrinter.Font = VB6.FontChangeName(Printer.Font, "宋体")rnPrinter.Font = VB6.FontChangeSize(Printer.Font, 10.5)rnPrinter.ScaleMode = vbMillimetersrnMsgBox(Printer.TextWidth("序号") & "," & Printer.TextHeight("序号"))rnrnrn我想得到一个字符串的打印长度,单位一定要用毫米rnrn请高手指教在VB.NET中如何实现rn
火急求救!!在vb.net下TextBox的ReadOnly属性设置!!
各位大侠rn 小弟我在VB.NET下把TextBox的属性设置成ReadOnly后,但是想把它的灰色背景颜色换成其他的,我在代码里直接设置颜色不成功。rn 请问怎么做,代码怎么写?谢谢~~~
vb.net新手求救,关于backgroundworker使用的问题
我编了个小游戏,这个小游戏里有个timer,因为timer里有判断语句,所以timer在游戏的整个过程中一直运行,才能保证我游戏里的东西一直动。rn现在的问题是,界面反应有些迟钝,我想用个backgroundworker线程在后台执行这个timer,怎么将timer加到那个backgroundworker里?请高手指教
各位,求救一个vb.net基本知识的问题
吾在Html页面中手动的加入了一个验证控件CompareValidatorrn而我想在webform1.aspx.vb代码页中的 page_load事件中引rn用这个控件(给它的valueToCompare属性赋值):CompareValidator1.valueToCompare=Datetime.todayrn但编译老是通不过(提示CompareValidator1是一个没有Declare的变量),请问各位是哪里出错了?
100 vb.net 操作excel (模版) 求救
位大虾帮小弟看看下面这个函数,我不知道是什么原因, 一直不能生成EXCEL文件,我调试的时候它 每次运行到 xlWorkbook.XmlMaps(ExcelXMLTrans).Import(FileTrans) 这行语句的时候就不动了....  我的模版文件通过ACCESS的VBA测试过可以生成并导入数据.希望大家能帮帮偶, 如果是在广州的兄弟,我还可以请你吃饭的~...交 朋友,写程序,,,  希望大家帮我看看 rnrnPublic Sub ExportTransactionSheet(ByVal GCIOrderRef As String, ByVal SpreadsheetLocation As String, ByVal OutputFileLocation As String) rn Dim FileTrans As String = Server.MapPath( "~ ") + "\sheet\ " + "tempmain.xml " rn Dim FileProducts As String = Server.MapPath( "~ ") + "\sheet\ " + "tempProd.xml " rn Dim FileCustomer As String = Server.MapPath( "~ ") + "\sheet\ " + "tempCust.xml " rn Dim FileSupplier As String = Server.MapPath( "~ ") + "\sheet\ " + "tempSupp.xml " rnrn Const TableTrans As String = "Mainform " rn Const TableProducts As String = "tbl_UPLOAD_Products " rn Const TableCustomer As String = "qry_Excel_CustomerInfo " rn Const TableSupplier As String = "qry_Excel_SupplierInfo " rnrn Const ExcelXMLTrans As String = "Mainform_Root_Map " rn Const ExcelXMLProducts As String = "Products_Root_Map " rn Const ExcelXMLSupplier As String = "dataroot_Map " rn Const ExcelXMLCustomer As String = "dataroot_Map1 " rnrn 'DataSet to hold data rn Dim DataTrans As DataSet = New DataSet( "dataroot ") rn Dim Products As DataSet = New DataSet( "dataroot ") rn Dim DataSupplier As DataSet = New DataSet( "dataroot ") rn Dim DataCustomer As DataSet = New DataSet( "dataroot ") rnrn 'check to see if the files exist. If they do, delete them rn If File.Exists(FileTrans) Then File.Delete(FileTrans) 'if (File.Exists(@FileTrans)) File.Delete(@FileTrans); rn If File.Exists(FileProducts) Then File.Delete(FileProducts) 'if (File.Exists(@FileTransProducts)) File.Delete(@FileTransProducts); rn If File.Exists(FileCustomer) Then File.Delete(FileCustomer) rn If File.Exists(FileSupplier) Then File.Delete(FileSupplier) rnrn 'Open connection to MS Access database rn Dim TransactionCN As New OleDb.OleDbConnection rn TransactionCN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source= " + Server.MapPath( "~ ") + "\DB\Testupdated412.mdb " rn TransactionCN.Open() rnrn 'Set the DataAdapter to get data from the specific table rn Dim BuyingAdapter As New OleDb.OleDbDataAdapter( "Select * from " + TableTrans + " Where Order_No= ' " + GCIOrderRef + " ' ", TransactionCN) rn Dim ProductsAdapter As New OleDb.OleDbDataAdapter( "Select * from " + TableProducts + " Where GCI_Order_Ref= ' " + GCIOrderRef + " ' ", TransactionCN) rn Dim SupplierAdapter As New OleDb.OleDbDataAdapter( "Select * from " + TableSupplier, TransactionCN) rn Dim CustomerAdapter As New OleDb.OleDbDataAdapter( "Select * from " + TableCustomer, TransactionCN) rnrn 'Fill the DataSet with the DataAdapter command rn BuyingAdapter.Fill(DataTrans, TableTrans) rn ProductsAdapter.Fill(Products, TableProducts) rn SupplierAdapter.Fill(DataSupplier, TableSupplier) rn CustomerAdapter.Fill(DataCustomer, TableCustomer) rnrn 'Call the WriteXML methods to output data to a XML file rn DataTrans.WriteXml(FileTrans) rn Products.WriteXml(FileProducts) rn DataSupplier.WriteXml(FileSupplier) rn DataCustomer.WriteXml(FileCustomer) rnrn 'Clean Up rn TransactionCN.Close() rn DataTrans = Nothing rn BuyingAdapter = Nothing rn Products = Nothing rn ProductsAdapter = Nothing rn DataSupplier = Nothing rn SupplierAdapter = Nothing rn DataCustomer = Nothing rn CustomerAdapter = Nothing rnrnrn 'Open spreadsheet and import XML data into the XML Map rn Dim xlApp As Excel.Application rn Dim xlWorkbook As Workbook rnrn xlApp = New Excel.Application rn xlApp.Visible = True rnrn xlWorkbook = xlApp.Workbooks.Open(SpreadsheetLocation) rnrn xlWorkbook.XmlMaps(ExcelXMLSupplier).Import(FileSupplier) rn xlWorkbook.XmlMaps(ExcelXMLCustomer).Import(FileCustomer) rn xlWorkbook.XmlMaps(ExcelXMLTrans).Import(FileTrans) rn xlWorkbook.XmlMaps(ExcelXMLProducts).Import(FileProducts) rn xlWorkbook.SaveAs(OutputFileLocation) rnrn xlApp.Quit() rn xlApp = Nothing rnrn 'check to see if the files exist. If they do, delete them rn If File.Exists(FileTrans) Then File.Delete(FileTrans) 'if (File.Exists(@FileTrans)) File.Delete(@FileTrans); rn If File.Exists(FileProducts) Then File.Delete(FileProducts) 'if (File.Exists(@FileTransProducts)) File.Delete(@FileTransProducts); rn If File.Exists(FileCustomer) Then File.Delete(FileCustomer) rn If File.Exists(FileSupplier) Then File.Delete(FileSupplier) rnrn 'display the hyperlink rn If File.Exists(OutputFileLocation) Then rn downTrans.Visible = True rn OutputFileLocation = OutputFileLocation.Substring(OutputFileLocation.LastIndexOf( "\ ") + 1) rn 'downTrans.NavigateUrl = System.Configuration.ConfigurationSettings.AppSettings( "downPath ") + OutputFileLocation rn Dim Url As String = System.Configuration.ConfigurationSettings.AppSettings( "downPath ") + OutputFileLocation rn 'Url = Server.UrlEncode(Url) rn 'Server.Execute( "sheet/DownExcel.htm ") rn 'Server.Execute( "/sheet/1.txt ") rn Response.Redirect(Url) rn End If rn rn End Sub
vb.net 后代代码中 加入 javascript ,,求救
[code=vb]rnProtected Sub btnOK_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnOK.Clickrn.....rnIf Not IsDBNull(Pro_Num_AlphaInfo.Rows(0).Item("PRO_NUM_ALPHA")) Thenrn Me.Page.Response.Write(" ")rnrn此处不知如何编写,忘<em>求救</em>..... ?rn rn我想表达的是 : 如果 Pro_Num_AlphaInfo.Rows(0).Item("PRO_NUM_ALPHA") 的值不为空,则弹出 是否窗体,[color=#FF0000]如果选择了是,,怎么判断客户选择了是还是否?[/color],做业务处理,如果否,没有操作。rn rn End Ifrn End Subrn[/code]
☆★☆vb.net新手求救一个生成问题!☆★☆
我在生成安装程序的时候,出现了以下信息:rn 未能找到引用的组件“AxMSACAL”。未能加载类型库。库没有注册。rn 未能找到引用的组件“MSACAL”。未能加载类型库。库没有注册。rn我想请问各位高手,怎么注册这两个库呢,我找了半天,也不知道怎么注册。请教高手帮助啊!
求救:VB.NET连接CAD运行出错
[求助] <em>求救</em>:VB.NET连接CAD运行出错rn以前VB6连接CAD的绘图程序,升级到.NET后。正在成图的时候,一操作CAD程序就退出。可在VB6的时候就不会出现这种情况。rnrn出错详细: 以前VB6做的程序,程序运行成图的时候,比如说我再操作CAD,程序就会等待我操作完成后,切换过来就可以继续成图。但现在VB.NET在成图的时候,我一操作CAD时程序就自动退出。不知道大家有没有遇到这种情况。 rn
求救vb.net 中TreeView与SQL2005查询语句问题
原来查询语句如下:rn"declare @col varchar(10) select @col = pointid from m5define where id = " + Me.合同编号TextBox.Text + "-100 exec ('select pointid,opgroup,pointname,timeid,V00'+@col+' from m5define,sample_m5_001 where id =" + Me.合同编号TextBox.Text + "-100 and timeid BETWEEN ''" + Me.开始日期DateTimePicker.Value.ToString() + "'' AND'' " + Me.结束日期DateTimePicker.Value.ToString() + "''')"rn 现在我想把 " + Me.合同编号TextBox.Text + "-100 用通过 treeview 节点 查询代替。<em>求救</em>具体做法。rn也就是本来是textbox输入内容查询,代替成treeview节点内容查询。
本人初学vb.net,简单问题求救!
为什么我的工程不能在.net里调试状态下运行呢(按F5或Ctrl+F5、菜单项)?MAKE成EXE以后,EXE文件又能正确运行,请教请教……
求救:把vb.net代码转成vb代码
<em>求救</em>:把以下<em>vb.net</em>代码转成vb代码。谢谢rnrnImports SystemrnImports System.IOrnImports System.TextrnImports System.SecurityrnImports System.Security.Cryptographyrnrn' */rn' */rn' */rn'/ rn'/ 加密,解密功能函数rn'/ applern'/ rnPublic Class Encodern Public Sub New()rn End Subrnrn Private Shared m_Key() As Byte = New Byte(8) rn Private Shared m_IV() As Byte = New Byte(8) rnrn '为了安全,直接将key写死在文件中,你也可以用一个属性来实现rn Public key As String = "test$)"rn ' */rn ' */rn ' */rn '//////////////////////// rn '加密函数rn Public Function EncryptData(ByVal strKey As String, ByVal strData As String) As Stringrn Dim strResult As Stringrnrnrn '1. 字符大小不能超过90Kb. 否则, 缓存容易溢出rn If strData.Length > 92160 Thenrn strResult = "Error. Data String too large. Keep within 90Kb."rn Return strResultrn End Ifrnrn '2. 生成key rn If Not InitKey(strKey) Thenrn strResult = "Error. Fail to generate key for encryption"rn Return strResultrn End Ifrnrn '3. 准备处理的字符串rn '字符串的前个字节用来存储数据的长度rn '用这个简单的方法来记住数据的初始大小,没有用太复杂的方法rn strData = String.Format("0,5:00000" + strData, strData.Length)rnrnrn '4. 加密数据rn Dim rbData() As Byte = New Byte(strData.Length) rn Dim aEnc As ASCIIEncoding = New ASCIIEncoding()rn aEnc.GetBytes(strData, 0, strData.Length, rbData, 0)rn '加密功能实现的主要类rn Dim descsp As DESCryptoServiceProvider = New DESCryptoServiceProvider()rnrn Dim desEncrypt As ICryptoTransform = descsp.CreateEncryptor(m_Key, m_IV)rnrnrn '5. 准备streamrn ' mOut是输出流.rn ' mStream是输入流rn ' cs为转换流rn Dim mStream As MemoryStream = New MemoryStream(rbData)rn Dim cs As CryptoStream = New CryptoStream(mStream, desEncrypt, CryptoStreamMode.Read)rn Dim mOut As MemoryStream = New MemoryStream()rnrn '6. 开始加密rn Dim bytesRead As Integerrn Dim output() As Byte = New Byte(1024) rn Dorn bytesRead = cs.Read(output, 0, 1024)rn If bytesRead <> 0 Thenrn mOut.Write(output, 0, bytesRead)rn End Ifrn Loop While bytesRead > 0rnrn '7. 返回加密结果rn '因为是一个web项目,在这里转换为base64,因此在http上是不会出错的rn If mOut.Length = 0 Thenrn strResult = ""rn Elsern strResult = Convert.ToBase64String(mOut.GetBuffer(), 0, CType(mOut.Length, Integer))rn End Ifrnrn Return strResultrn End Functionrn ' */rn ' */rn ' */rn '//////////////////////// rn '解密函数rn Public Function DecryptData(ByVal strKey As String, ByVal strData As String) As Stringrn Dim strResult As Stringrnrn '1. 生成解密key rn If Not InitKey(strKey) Thenrn strResult = "Error. Fail to generate key for decryption"rn Return strResultrn End Ifrnrn '2. 初始化解密的主要类rn Dim nReturn As Integer = 0rn Dim descsp As DESCryptoServiceProvider = New DESCryptoServiceProvider()rn Dim desDecrypt As ICryptoTransform = descsp.CreateDecryptor(m_Key, m_IV)rnrn '3. 准备streamrn ' mOut为输出流rn ' cs为转换流rn Dim mOut As MemoryStream = New MemoryStream()rn Dim cs As CryptoStream = New CryptoStream(mOut, desDecrypt, CryptoStreamMode.Write)rnrn Dim bPlain() As Byte = New Byte(strData.Length) rn Tryrn bPlain = Convert.FromBase64CharArray(strData.ToCharArray(), 0, strData.Length)rn Catchrn strResult = "Error. Input Data is not base64 encoded."rn Return strResultrn End Tryrnrn Dim lRead As Long = 0rn Dim lTotal As Long = strData.Lengthrnrn Tryrn '5. 完成解密rn While lTotal >= lReadrn cs.Write(bPlain, 0, CType(bPlain.Length, Integer))rn lRead = mOut.Length + Convert.ToUInt32(((bPlain.Length / descsp.BlockSize) * descsp.BlockSize))rn End Whilernrnrn Dim aEnc As ASCIIEncoding = New ASCIIEncoding()rn strResult = aEnc.GetString(mOut.GetBuffer(), 0, CType(mOut.Length, Integer))rnrn '6.去处存储长度的前个字节的数据rn Dim strLen As String = strResult.Substring(0, 5)rn Dim nLen As Integer = Convert.ToInt32(strLen)rn strResult = strResult.Substring(5, nLen)rn nReturn = CType(mOut.Length, Integer)rnrn Return strResultrn Catchrn strResult = "Error. Decryption Failed. Possibly due to incorrect Key or corrputed data"rn Return strResultrn End Tryrn End Functionrn ' */rn ' */rn ' */rn '/////////////////////////////////////////////////////////// rn '生成key的函数rn Private Shared Function InitKey(ByVal strKey As String) As Booleanrn Tryrn ' 转换key为字节流rn Dim bp() As Byte = New Byte(strKey.Length) rn Dim aEnc As ASCIIEncoding = New ASCIIEncoding()rn aEnc.GetBytes(strKey, 0, strKey.Length, bp, 0)rnrn Dim sha As SHA1CryptoServiceProvider = New SHA1CryptoServiceProvider()rn Dim bpHash() As Byte = sha.ComputeHash(bp)rnrn Dim i As Integerrn ' 生成初始化DESCryptoServiceProvider的参数rn For i = 0 To 8 - 1 Step i + 1rn m_Key(i) = bpHash(i)rn Nextrnrn For i = 8 To 16 - 1 Step i + 1rn m_IV(i - 8) = bpHash(i)rn Nextrnrn Return Truern Catchrn '错误处理rn Return Falsern End Tryrn End FunctionrnEnd Classrn
VB.NET 2005 串口通讯方面的问题(求救
我需要在用VB.NET 2005编写一个运行在WINCE 5.0下的串口通讯方面的程序。只要收发正常就可以。VB.NET2005下有一个串口的控件SerialPort,不知道可以用吗?有人说编写WINCE5.0下的串口通讯程序,这个空间是不能用的。不知道是不是这样,还有,不知道哪位大侠可以给我提供一个例子吗?本身是做下位机程序开发的,对VB,VC这些不是很了解。希望大家帮助帮助我。谢谢啦。
vb.net中如何多级过滤??求救!!
表DDLtrackingrn结构:ddl,picksdate,pickstime,pickuser,pic(为时间段单位小时),pickremarkrnrn示例记录: ddl picksdate pickstime pickuser pic pickremarkrn 0080225788 2009-2-9 12:02:58 李威 0.3 rn 0080225721 2009-2-9 12:02:58 李威 0.3 rn 0080225786 2009-2-9 12:52:58 李威 1.4 找MBLrn 0080225783 2009-2-9 13:43:58 李威 0.4 rn 0080225778 2009-2-9 14:16:58 刘海 0.4 rn 0080225732 2009-2-9 14:16:58 刘海 0.4 rn 0080225758 2009-2-9 16:10:22 刘海 2.4 换箱rnrnrn要求:rn 得到每个人完成的批次(同一时间为同一批次),并统计出这些批次用的总时间(即Pic之和)rn 如果pickremark有值的话,则再统计一下平均值(去掉这个批次)结果如下图所示rnrn 日期 姓名 批次 总时间 平均时间 异常时间(pickremark值不为空情况下)异常信息 最终平均时间(总时间/批次)rn 2009-2-9 李威 3 2.1 2.1/3 1.4 找MBL (2.1-1.4)/(3-1) rn 2009-2-9 刘海 2 2.8 2.8/2 2.4 换箱 (2.8-2.4)/(2-1)rnrn可以根据pickstime值统计批次,同一pickstime属于同一批次,看看有办法实现没有。帮我弄一下,sql语句不知道怎么写
高分求救-vb.net 实现程序在线更新
高分<em>求救</em>-<em>vb.net</em> 实现程序在线更新rn如题,需开发一个能自动升级的程序,在C/S结构下主要是判断升级文件的修改日期,如何实现,谢谢。
求救,11行代码从vb改成vb.net
是ftp上传文件代码,本人菜鸟实在不懂,请指教(希望改完后能编译通过):rnPrivate Sub 上传_Click()rn Inet1.URL = IP.Text ' "ftp://61.129.102.38/"rn Inet1.Protocol = 2rn Inet1.UserName = USER.Text ' "username"rn Inet1.Password = ID.Text ' "password"rn Inet1.Execute , "PUT " & "c:11.jpg" & " pathname\22.jpg"rn Do While Inet1.StillExecutingrn DoEventsrn Looprn MsgBox "上传完毕!", vbInformation, "提示"rnEnd Sub
小白问个小白问题
我给按钮设置位图rnrn用rnCButton *ptn;rnCBitmap m_bitmap;rnm_bitmap.LoadBitmap(IDB_BITMAP);rn(CButton*)pbtn->SetBitmap(m_bitmap);rn为什么执行时会错
小白
注册几天了,论坛的基本都看不懂,我想赚积分应该怎么搞呢
vb.net 利用WebBrowser操作网页的问题 求救
大侠们,我遇到一个麻烦问题,要写个程序操作网页 遇到如下问题:rn1、不知道如何给下拉列表框赋值,给打开页面的文本框赋值 如下: rnMe.WebBrowser1.Document.All("password").SetAttribute("value", y_passworld) '用户密码rnrn2、如何读取网页某文本框的值rnrn麻烦给个提示 谢谢 大侠了!
求救,vs.net中 vb.net C# 安装错误
装了n遍了,还错误 :~(rnrnProduct: Visual Studio .NET Enterprise Architect - English -- rnError 1935.An error occured during the installation of assembly component D825F1C6-87AB-11D5-A54F-0090278A1BB8. HRESULT: -2146234299. rnrnassembly interface: IAssemblyCacheItem, rnfunction: Commit, rnassembly name: Microsoft.mshtml,Version="7.0.3300.0",rnPublicKeyToken="b03f5f7f11d50a3a",Culture="neutral"rnrnrn
VB.NET 2005软件背景的问题(求救
小弟刚接触VB。请问用VB.NET做一个软件,在WINCE5.0下运行。这个软件的背景需要怎么改变呢?如果是WINDOWS下的。rn有BackGroundImage这个属性。但是新建的项目是基于智能设备WINCE下的,建的应用程序,没有这个属性。怎么办?帮帮小弟呀。
求救~~~VB.NET如何实现保存上传路径?????????
我的页面上有一个上传图片的控件,还有一个TEXTBOX,我想实现的功能是在TEXTBOX里面写上要上传图片的路径,然后上传,同时把上传的路径保存在数据库里,并且实现所上传的图片在页面上能预览.谁能帮我解决一下~rnrnfilefield我已经用了,TEXTBOX是要获取我要保存的路径.点击浏览选好要上传的文件后,直接上获取TEXTBOX里面的路径,也就是直接上传到TEXTBOX里填写的路径里面去.rnrnrn1.保存上传的路径.rnrn2.提交前预览上传的图片.
求救vb.net中怎样开发第三方控件?
因小弟我最近才学习<em>vb.net</em>。不知道第三方控件是怎样开发。rn想求教各位大哥大姐们帮忙。谢谢!rn最好跟我讲一讲代码。
求救vb.net里怎样读网页的代码
<em>求救</em>在<em>vb.net</em>里怎样读网页的代码
一个非常小白小白
新人初来乍到,各位大佬多多指教!
LINUX从小白小白
一,安装坑 在有win10情况下添加双系统Centos7 1.拿块U盘写入Centos7系统 2,插上U盘 如果是固态还要到bios 修改sata 配置 为ahci 3,默认 下一步 下一步 (安装中 还碰到鼠标 不好使 了 好吧 其实 双击 就搞定了) 4,安装源:https://mirrors.aliyun.com/centos/7/os/x86_64 安装选择:如果你想要...
小白求教!小白求教!小白求教!
哪位大神给个提示,像这类网站:http://mobile.xgkst.com/#/loginrn要如何实现C#模拟登录或者获取某个元素的内容,谢谢!
涂抹Oracle 三思笔记之一步一步学Oracle .part3.rar下载
相当不错的oracle教程 实战入手,实用性很强。 相关下载链接:[url=//download.csdn.net/download/mujian1986/3973997?utm_source=bbsseo]//download.csdn.net/download/mujian1986/3973997?utm_source=bbsseo[/url]
div 选项卡 tap下载
非常漂亮的div 选项卡 div+css js选项卡效果 相关下载链接:[url=//download.csdn.net/download/silencesky_/4501832?utm_source=bbsseo]//download.csdn.net/download/silencesky_/4501832?utm_source=bbsseo[/url]
三星S5830手电筒下载
非常好用的三星S5830手电筒,无广告,本人至今为止觉得最好用的手电筒。超好 相关下载链接:[url=//download.csdn.net/download/u010400077/5285277?utm_source=bbsseo]//download.csdn.net/download/u010400077/5285277?utm_source=bbsseo[/url]
相关热词 c#串口测试应用程序 c# 匹配 正则表达式 c#防止窗体重绘 c#读写txt文件 c#挖地雷源代码 c#弹框选项 c# 移除 队列 c# 密码写入配置文件 c# 获取可用内存大小 c# 嵌入excel编辑
我们是很有底线的