大富翁离线浏览器(100分)

怎么没有删除的功能??
在线更新一开始就不能中断,只有等它全部下完,能不能设置一下啊?
这两个功能不难啊!
加上要全部类别会更好
这两个功能我会考虑加上的,谢谢大家的反馈,如果有Bug请及时通知我,谢谢啦。
 
未导入前不到500MB,才导入5000条记录,居然1.49GB,是何原因?
是否应考虑做ACCESS压缩功能!
 
未导入前不到500MB,才导入5000条记录,居然1.49GB,是何原因?
我靠,怎么会这样,我也搞不清楚了,不过我到没试过导入5000条记录,待我试试先。
 
我才导入100条记录居然大了快30M。
Why???
 
[:(]怪事,我刚刚导了100条纪录,数据库大小几乎没有变化,不知你们的为什么会
大了这么多,请有相关经验的富翁说两句吧!
 
我们用的是CAKK的alldata.rar数据库  
 
to 娃娃:
怪不得你说界面比较拥挤,我是在1400*1050的分辨率下开发的,到了1024*768下真是
惨不忍睹。
 
兄弟,源程序能提供不?谢谢了!
大家一同来完善会更好
 
bug 报告,很多帖子无法导入
1169000,1169010,1169066
未导入: '' is not a valid integer values
 

千万别在线导入,我导一天了
我太悲惨了
我用的是CAKK的alldata.rar数据库
我是在 alldata.rar 数据库后面的数据在线导入 
我导到 帖子id 为1168511
『问题的标题是: 在win2000或xp下的打印走纸问题 (100分 )
来自 :southbug 时间 :2002-6-13 9:25:00 』
你们知道数据就多大了 2096596 KB 2.1G
这个程序导入数据时不管37 21 后面帖子也给上来了,有点乱
而且数据库变的狂大,压缩后还是 2.1G,大小不变。
兄弟不如把程序公布,大家看看,好不
 
我那次长了30M以后后面导入数据数据库就不长了
呵呵
真是怪事!
不懂……[?][?][?][?]
 
代码:
procedure TfrmImportPage.ImportPageToDb(QuesID: Integer);
var
  QuesInfo: PQuesInfo;
  ParentID: Integer;
  I: Integer;
  HasExcep: Boolean;
  M: string;
begin
  HasExcep := False;
  try
    for I := 0 to List.Count - 1 do
    begin
      QuesInfo := PQuesInfo(List[I]);
      with QuesInfo^ do
      begin
        if UserFrom = '' then
          UserFrom := 'UnKnown';
        if I = 0 then
          ParentID := 0
        else
          ParentID := QuesID;
        if Notebook1.PageIndex = 1 then
        begin
          if QueryID.Locate('ID', StrToInt(ID), []) then
          begin
            if rbUpdate.Checked then
              UpdateToDb(QuesInfo, ParentID);
            Continue;
          end;
        end;
        
        FTable.Parameters.ParamByName('FID').Value := StrToInt(ID);
        FTable.Parameters.ParamByName('FRegDateTime').Value := StrToDateTime(RegDateTime);
        FTable.Parameters.ParamByName('FDateTime').Value := StrToDateTime(FDateTime);
        FTable.Parameters.ParamByName('FUserFrom').Value := UserFrom;
        FTable.Parameters.ParamByName('FSubject').Value := Subject;
        FTable.Parameters.ParamByName('FContent').Value := Content;
        FTable.Parameters.ParamByName('FPoints').Value := StrToInt(Points);
        FTable.Parameters.ParamByName('FParent').Value := ParentID;
        FTable.Parameters.ParamByName('FStatus').Value := StrToInt(Status);
        FTable.Parameters.ParamByName('FRead_N').Value := StrToInt(GetTimes);
        FTable.Parameters.ParamByName('FReply_N').Value := StrToInt(ReplyTimes);
        FTable.Parameters.ParamByName('FRoomID').Value := StrToInt(DataMod.GetRoomID(RoomName));
        FTable.Parameters.ParamByName('FExpert').Value := ' ';
//得分的大富翁
        FTable.Parameters.ParamByName('FuValue').Value := '0';
        FTable.Parameters.ParamByName('FNeedEMail').Value := '0';
        FTable.Parameters.ParamByName('FIPAddr').Value := '-';
      end;
      try
        FTable.Execute;
      except
        on E: Exception do
        begin
          HasExcep := True;
          M := E.Message;
        end;
      end;
    end;
    if HasExcep then
      raise Exception.Create(M);
    reDetail.Lines.Clear;
    reDetail.Lines.Add('成功导入!');
  except
    on E: Exception do
    begin
      if NoteBook1.PageIndex = 0 then
        reDetail.Lines.Add('发生错误:' + E.Message)
      else
        raise;
    end;
  end;
end;
FTable是一个TADOCommand,
FTable的SQL语句为
InsertStr = 'Insert into letters(ID, RegDateTime, FDateTime, UserFrom, Subject, ' +
'RoomID, Content, Expert, Points, Parent, Status, GetTimes, ReplyTimes, uValue, ' +
'NeedEMail, IPAddr) Values:)FID, :FRegDateTime, :FDateTime, :FUserFrom, :FSubject, ' +
':FRoomID, :FContent, :FExpert, :FPoints, :FParent, :FStatus, :FRead_N, :FReply_N, :FuValue, ' +
':FNeedEMail, :FIPAddr)';
下面是QuesInfo的结构内容,
PQuesInfo = ^TQuesInfo;
TQuesInfo = record
Id,
Subject,
UserFrom,
Points,
Fdatetime,
RegDateTime,
RoomName,
ReplyTimes,
GetTimes,
Content,
Status: string;
end;
以上这些是在线导入时保存到数据库的一部分内容,List里保存的内容是一个贴子里的
多条数据库记录。
我想在导入时会有重复的记录,我在这里没有判断,而是依靠捕获异常处理的,不知是
不是因为这个原因导致数据库变得非常大。
我再查查看。
 
而且我也在线导入了将近1000条记录,我的数据库并没有多大的变化。
怪事?????????????
 
你自己才导入1000条,我帮你导入了至少有7-8万条记录了,我用adsl导了24小时,多测试下
 
我的数据库目前是500多兆,包括从开始到今年六月份的所有贴子数据,所以我在线导入
的贴子不多,你们下载的数据库较小,是为了提高大家的下载速度,缩短下载时间。
因此我没有进行过强度的测试,我现在就试试。
 
建议左边用左大侠的treeview控件,另外能否把全部源码公布,传到窑洞去吧,兄弟
 
山泉,
2.1gb还能压缩,我到了1.99gb就无法继续导入,也无法压缩,提示参数错误!
删了rooms,users,bigrichlist后能压缩了!
 
顶部