topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
registry | to save a variable on registry I made [code:ae49tqxo]
Key:="Software\Microsoft\Windows\CurrentVersion\Policies\System"
Name:="NoDispCPL"
valore:=1
oReg := TReg32():New(HKEY_CURRENT_USER, Key)
oReg:Set(Name,valore)
[/code:ae49tqxo]and this is ok but on a pc have windowx xp it not found the key [b:ae49tqxo]System[/b:ae49tqxo] but only Explorer key(Key:="Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")How I can make to create the new key ? |
registry | Try Create() method.EMG |
registry | How I must make to see if this key there is ...because when I create [code:1qstyvd8]Key:="Software\Microsoft\Windows\CurrentVersion\Policies\System"
Name:="NoDispCPL"
valore:=1
oReg := TReg32():New(HKEY_CURRENT_USER, Key)
oReg:Set(Name,valore) [/code:1qstyvd8]it not send me any errorsbut system not was into |
registry sample | hi, someone has an simple sample to write to windows registry? thanks |
registry sample | [code:9w5412fi]#define HKEY_CURRENT_USER 2147483649
#define KEY_ALL_ACCESS 983103
#define REG_SZ 1
STATIC FUNCTION PDFGETOPTION( cKey )
LOCAL hKey := 0
LOCAL nType := REG_SZ
LOCAL cData := SPACE( 256 )
LOCAL nSize := LEN( cData )
REGOPENKEY( HKEY_CURRENT_USER, "Software\PDFCreator\Program", 0, KEY_ALL_ACCESS, @hKey )
REGQUERYVALUE( hKey, cKey, 0, @nType, @cData, @nSize )
REGCLOSEKEY( hKey )
RETURN LEFT( cData, AT( CHR( 0 ), cData ) - 1 )
STATIC FUNCTION PDFSETOPTION( cKey, cValue )
LOCAL hKey := 0
LOCAL nType := REG_SZ
LOCAL nSize := LEN( cValue )
REGOPENKEY( HKEY_CURRENT_USER, "Software\PDFCreator\Program", 0, KEY_ALL_ACCESS, @hKey )
REGSETVALUE( hKey, cKey, 0, nType, cValue, nSize )
REGCLOSEKEY( hKey )
RETURN NIL
DLL32 STATIC FUNCTION REGOPENKEY( hKey AS LONG, cSubKey AS LPSTR, nOptions AS DWORD, nSamDesired AS DWORD, @nHandle AS PTR ) AS LONG;
PASCAL FROM "RegOpenKeyExA" LIB "advapi32.dll"
DLL32 STATIC FUNCTION REGQUERYVALUE( hKey AS LONG, cValueName AS LPSTR, nReserved AS LONG, @nType AS PTR, @cData AS LPSTR, @nSize AS PTR ) AS LONG;
PASCAL FROM "RegQueryValueExA" LIB "advapi32.dll"
DLL32 STATIC FUNCTION REGSETVALUE( hKey AS LONG, cValueName AS LPSTR, nReserved AS LONG, nType AS DWORD, cData AS LPSTR, nData AS DWORD ) AS LONG;
PASCAL FROM "RegSetValueExA" LIB "advapi32.dll"
DLL32 STATIC FUNCTION REGCLOSEKEY( hKey AS LONG ) AS LONG;
PASCAL FROM "RegCloseKey" LIB "advapi32.dll"[/code:9w5412fi]
EMG |
registry sample | Enrico, thanks. |
registry sample | Nop,
Be sure to check out the new security issues with writing to the registry under Vista. Here is a good place to start:
<!-- m --><a class="postlink" href="http://windowsconnected.com/blogs/jerry/archive/2005/12/19/86.aspx">http://windowsconnected.com/blogs/jerry ... 19/86.aspx</a><!-- m -->
James |
registry value | Can someone please post an example how to write and read a registry value.
Thank in advance
Otto |
registry value | Otto
function ReadRegistry()
LOCAL nHandle
LOCAL cValue
LOCAL dFecUltActu
if RegOpenKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) == 0
dFecUltActu := cToD( RegQueryValue( nHandle, "F.Ul.Actualizacion" , @cValue ))
RegCloseKey( nHandle )
endif
Return NIL
function WriteRegistry()
LOCAL nHandle
LOCAL cDateUltActu := dToC( DATE() )
if RegOpenKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) != 0
RegCreateKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) // Creo el Grupo.
if RegOpenKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) == 0 // Si existe.
RegSetValue( nHandle, "F.Ul.Actualizacion" ,cDateUltActu )
Endif
RegCloseKey( nHandle )
endif
Return NIL |
reindent Fivedit | Dear Cristobal,
I still use Multiedit to reindent my source code.
With UE Studio I call Multiedit with a tool configuration.
How can I set up Fivedit.
Thank you in advance
Otto
[img:1d7l3veq]https://mybergland.com/FWForum/fivedit.jpg[/img:1d7l3veq]
[img:1d7l3veq]https://mybergland.com/FWForum/reindent.gif[/img:1d7l3veq] |
reindent Fivedit | Dear Otto, you not need MultiEdit
Please configure HBFormat in FivEdit: Preferences - "Code Format/Template", configure this parameters and press ALT+F2 or SHIFT+F2 ( look, menu Edit - Format Code )
If you use ALT+F2 or option Menu: Format Code -> Format Code-Edit, you will see the formatted text. To exit that screen, press ESC and agree to replace the original text with the result of the operation
This is my configuration screen
For more information, please search for HBFormat tool in Harbour code, or read file hbformat.ini in your folder of FivEdit
If you not have this file, please tell me
[img:2dmxgtc6]https://bitbucket.org/fivetech/fivewin-contributions/downloads/Fivedit22.gif[/img:2dmxgtc6] |
reindent Fivedit | Also, look Templates:
I press CTRL + ALT + "0" + "4" in this screen
[img:2khyx8d1]https://bitbucket.org/fivetech/fivewin-contributions/downloads/Fivedit23.gif[/img:2khyx8d1] |
reindent Fivedit | Dear Cristobal,
thank you so much. It is working super.
May I ask if it is possible to adapt the style like I have in AutoCode as you see in the attached picture.
Best regards
Otto
[img:3v231f7j]https://mybergland.com/FWForum/indentFE.jpg[/img:3v231f7j] |
reindent Fivedit | Dear Otto
In the Main Menu - Edit - Format Code, there are options that are only activated if there is a code fragment selected.
Now, in the new version, I added the possibility of formatting that selected text as you request.
Also, after selecting the text, you can press ALT + F11, to perform that action.
Please download the new version
[img:2cxj4ui5]https://i.postimg.cc/tCBV2jkq/Fivedit95.png[/img:2cxj4ui5]
[img:2cxj4ui5]https://i.postimg.cc/1zBxNvPj/Fivedit96.png[/img:2cxj4ui5] |
reindent Fivedit | I liked this ability so I obtained the latest copy of the software and tried it.
I do not have a project setup, but I did open a file and tried the formatting. It indented RETURN statements so I went into preferences and unchecked that. It worked. Then I tried another file, and had to go through the whole process again.
Also, it is set for Borland which I do not use so it errors when entering saying it can't find some Borland files ... and when exiting.
Can you point me to the thread which discusses the setup so I can get this correctly installed ? Right now I use UE Studio.
Tim |
reindent Fivedit | Tim,I use Fivedit for build Fivedit ( with compiler Visual Studio 2015/ 2017 )
It's possible use any compiler ( Borland, VS, Mingw )
Please send me a mail and for anydesk I help you to configure |
reindent Fivedit | Please read this
<!-- m --><a class="postlink" href="http://wiki.fivetechsoft.com/doku.php?id=fivedit_instalation">http://wiki.fivetechsoft.com/doku.php?i ... nstalation</a><!-- m --> |
reindent Fivedit | Setup FivEdit
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=29991&start=465#p220357">viewtopic.php?f=3&t=29991&start=465#p220357</a><!-- l --> |
reindent Fivedit | Dear Cristobal,
thank you. The new option indent right is working fine.
Best regards
Otto |
reindent Fivedit | [quote="Otto":4gj1e3bp]Dear Cristobal,
thank you. The new option indent right is working fine.
Best regards
Otto[/quote:4gj1e3bp]
Dear Otto, thanks |
reindent Fivedit | I have ( I think ) followed the setup for FiveEdit. I created an empty project and then tried to import .prg files into it. When I click on the Add Item, I receive an error.
I received this error message:
Path and name: C:\FiveEdit\FIVEDIT.EXE (32 bits)
Size: 2,507,264 bytes
Compiler version: Harbour 3.2.0dev (r1603301435)
FiveWin version: FWH 18.12
C compiler version: Microsoft Visual C++ 19.0.23506 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 58 secs
Error occurred at: 27/03/2019, 16:01:19
Error description: Error BASE/1004 No exported method: CPROMPT
Parameters:
========================
[ 1] = U
Stack Calls
===========
000002 Called from: => CPROMPT( 0 )
000003 Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:PROJECTADDITEM( 11662 )
000004 Called from: .\source\classes\TFIVEDIT.PRG => (b)TFIVEDIT_MENUPROJECT( 5293 )
000005 Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 1563 )
000006 Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:COMMAND( 1460 )
000007 Called from: => TWINDOW:HANDLEEVENT( 0 )
000008 Called from: .\source\function\FIVEDITF.PRG => TFIVEDITWND:HANDLEEVENT( 280 )
000009 Called from: .\source\classes\WINDOW.PRG => _FWH( 3945 )
000010 Called from: => WINRUN( 0 )
000011 Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:ACTIVATE( 1416 )
000012 Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:ACTIVATE( 787 )
000013 Called from: D:\FWH\FWHTEAM\SAMPLES\fivedit.prg => MAIN( 158 )
I would like to import the whole project, but it is a UE Studio project and that is not one of the options. |
reindent Fivedit | Tim
tried to reproduce the error, and I did not succeed.
Anyway I have introduced an instruction so that in any case, that circumstance can not happen.
<!-- m --><a class="postlink" href="https://bitbucket.org/fivetech/fivewin-contributions/downloads/FIVEDIT.EXE">https://bitbucket.org/fivetech/fivewin- ... IVEDIT.EXE</a><!-- m -->
As for the UEstudio projects, if you send me a project definition file, I can implement the import of this type of project. |
reindent Fivedit | Sent |
reiniciar una aplicación | Hola:
Me gustaría saber si existe la manera de reiniciar una aplicación desde dentro de la misma. Hay situaciones como un cambio de idioma, coger datos de configuración,... que hacen necesario reiniciar la aplicación, y me gustaría saber como se hace.
Saludos, |
reiniciar una aplicación | Es una forma poco ortodoxa pero me funciona,
donde quieras que se reinicie tu aplicación,
1º llamas a un exe que va a volver a llamar a tu aplicación
2º te sales de la aplicación
Espero te sirva,
Saludos
.... tu codigo de tu aplicacion ...
Ejecuta("LlamaNuevoExe.EXE )
ErrorLevel(3)
PostQuitMessage(0)
__Quit()
.... fin
--- LlamaNuevoExe.EXE ---
// LLamaNuevoExe.prg sólo tiene una función y es llamar a tu aplicación.
function LlamaNuevoExe()
Ejecuta("TuAplicación.EXE")
Return nil
-- Function Ejecuta --
*******************************
* Ejecutar Programas Externos *
*******************************
FUNCTION Ejecuta(cEjecuta, lSeparate)
LOCAL hInstance
DEFAULT lSeparate TO .F.
IF IsWinNT()
IF lSeparate
hInstance := WinExec("cmd.exe /c start /SEPARATE "+cEjecuta ,0)
ELSE
hInstance := WinExec("cmd.exe /c start "+cEjecuta ,0)
ENDIF
ELSE
hInstance := WinExec("Start "+cEjecuta ,0)
ENDIF
RETURN hInstance |
reiniciar una aplicación | Gracias Jesús. Lo que quiero hacer es que el mismo exe se llame a si mismo. Lo que me propones está bien, pero no es lo que quiero hacer.
Saludos, |
reiniciar una aplicación | Jose Luis,
Con WinExec() podrías volver a ejecutar el EXE, luego darle foco a la nueva aplicación y finalmente terminar la primera.
De un modo esquemático sería asi:
WinExec( <aplicacion> )
SetFocus( <ventana_principal_aplicacion_nueva_instancia> )
<ventana_principal>:End()
Asi terminaría la actual, y la nueva quedaría activa. |
reiniciar una aplicación | Antonio:
¿ y como le doy foco a la nueva instancia de la aplicación ? |
reiniciar una aplicación | Puedes usar FindWindow() para encontrar el handle de la ventana.
Posiblemente habría que esperar un poco desde que arrancas la aplicación con WinExec() hasta que la ventana se crea y está visible.
Habría que revisar las opciones de WinExec() ó usar alguna función que aguarde un cierto tiempo (Sleep(), bucle con SysRefresh(), etc.) |
relacionar dos tablas. | Estimados amigos, como puedo realizar lo siguiente en Mysql.
Así lo hago en DBF, en donde los archivos Vta_Cot1 se relaciona con Tab_Cte, por el campo común entre ellos rut_cte..
Set Relation to Vta_Cot1->Cte_Cot into Tab_Cte
oCol2 := oBrw2:AddCol()
oCol2:bStrData := { || Transform(Vta_Cot1->Nro_Cot,"99-99-999") }
oCol2:cHeader := "Cotizacion"
oCol2 := oBrw2:AddCol()
oCol2:bStrData := { || Tab_Cte->Raz_Cte }
oCol2:cHeader := "Nombre Cliente" |
relacionar dos tablas. | SELECT a.*, b.* FROM vta_cot1 as A INNER JOIN tab_cte AS b ON b.rut_ce = a.rut_ce |
relacionar dos tablas. | Te agradezco la respuesta..
pero la hago mas difícil... si antes debo hacer esto..
cVta_Cot1:=xServer:Query("SELECT * FROM vta_cot1 WHERE nro_cot >='"+Str(cFolio1)+"' and nro_cot<='"+Str(cFolio1)+"' ORDER BY nro_cot")
que era lo que hacia con
Select 90
Set Order to 1
Vta_Cot1->(OrdScope(0, cFolio1 ))
Vta_Cot1->(OrdScope(1, cFolio2 ))
go top
y aca recien realizaba... el set relation...
mis diculpas... estoy recien viendo Mysql.. y aunque he estudiado el tema aun me cuesta visualizarlo... ahh estoy trabajando con tdolphin..
Atte., |
relacionar dos tablas. | cVta_Cot1:=xServer:Query("SELECT a.*, b.* FROM vta_cot1 AS a INNER JOIN tab_cte AS b ON b.rut_ce = a.rut_ce WHERE a.nro_cot >='"+Str(cFolio1)+"' and a.nro_cot<='"+Str(cFolio1)+"' ORDER BY a.nro_cot") |
relacionar dos tablas. | Te pasaste... amigo gracias... |
relacionar dos tablas. | solo algunas consideraciones.
[code=fw:2y1q6rq1]<div class="fw" id="{CB}" style="font-family: monospace;">cVta_Cot1:=xServer:<span style="color: #000000;">Query</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"SELECT a.*, b.* FROM vta_cot1 AS a INNER JOIN tab_cte AS b ON b.rut_ce = a.rut_ce WHERE a.nro_cot >='"</span>+Str<span style="color: #000000;">(</span>cFolio1<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"' and a.nro_cot<='"</span>+Str<span style="color: #000000;">(</span>cFolio1<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"' ORDER BY a.nro_cot"</span><span style="color: #000000;">)</span></div>[/code:2y1q6rq1]
en este caso, el indicar que te traeras todos los campos de la tabla a, y todos los campos de la tabla b en la consulta no es lo mejor, ni lo mas indicado. mas incluso si hay campos del mismo nombre en ambas tablas, por lo que deberas tener el cuidado de realizar el cambio de nombre en la consulta.
lo adecuado es especificar cuales columnas te traeras, y en caso de que existan columnas con nombre iguales en ambas tablas deberas usar " field as fielname", por ejemplo
[code=fw:2y1q6rq1]<div class="fw" id="{CB}" style="font-family: monospace;">cVta_Cot1:=xServer:<span style="color: #000000;">Query</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"SELECT a.nro_cot, a.code, a.name, a.age, a.dob, b.code as othername, b.address, b.city, c.state FROM vta_cot1 AS a INNER JOIN tab_cte AS b ON b.rut_ce = a.rut_ce WHERE a.nro_cot >='"</span>+Str<span style="color: #000000;">(</span>cFolio1<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"' and a.nro_cot<='"</span>+Str<span style="color: #000000;">(</span>cFolio1<span style="color: #000000;">)</span>+<span style="color: #ff0000;">"' ORDER BY a.nro_cot"</span><span style="color: #000000;">)</span></div>[/code:2y1q6rq1]
y eso que asumimos que por cada fila de datos en b debe haber una fila de datos en a. por que dbf en algunas ocaciones no es asi. para esos casos en sql deberas usar outer join, left join, rigth join.
salu2
carlos vargas |
relacionar dos tablas. | Lo mejor seria usar LEFT JOIN, ya que el INNER seria mas que todo para unirla, te recomiendo que uses algun administrador de base de datos...como NAVICAT, HeidiSQL, phpMyAdmin, etc, con el asistente para hacer tus concultas, asi puedes ver en linea que informacion te saldra del listado y luego simplemente copias tu sentencia a tu codigo, cualquier duda o consulta, por aca andamos, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
relative path | After a windows update (WINDOWS 7) this night on a customer PC all the relative paths .\ where redirected to c:\user\...\AppData\roaming.
We didn’t found any virus. Maybe Microsoft blocks .\ use in future.
Did someone have similar experiences.
Best regards,
Otto |
relative path | Otto,
similar but not exactly the same thing.
I have Windows 7.
Installed one morning I found a dialog with a countdown in my pc.
"in 8 minutes starts installation of Windows 10"
Fortunately I stop it and then some program began only work well If run as administrator.
I found this folder "$WINDOWS.~BT" hidden of 6,g GB and the presenze of
"C:\Users\marco\AppData\Local\VirtualStore"
a lot of folders in my pc with permission modified...
A lot of Stress....
<!-- s:evil: --><img src="{SMILIES_PATH}/icon_evil.gif" alt=":evil:" title="Evil or Very Mad" /><!-- s:evil: --> |
release of bcc | today I saw there is a strange compiler when I made an error on my application
[code=fw:3obec85s]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Work\Prg\family2\Main.Exe <span style="color: #000000;">(</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">7</span>,<span style="color: #000000;">793</span>,<span style="color: #000000;">664</span> bytes<br /> Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1406271520<span style="color: #000000;">)</span><br /> FiveWin version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">17.09</span><br /> C compiler version: <span style="color: #000000;">Borland</span> C++ <span style="color: #000000;">5.8</span><span style="color: #000000;">.2</span> <span style="color: #000000;">(</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">)</span><br /> Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7600</span> <br /><br /> Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">10</span> secs <br /> Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">28</span><span style="color: #000000;">-10</span><span style="color: #000000;">-2017</span>, <span style="color: #000000;">20</span>:<span style="color: #000000;">15</span>:<span style="color: #000000;">19</span><br /> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1003</span> Variabile inesistente: <span style="color: #000000;">ORBAR</span></div>[/code:3obec85s]
I have the last fwh and I compile with bcc7 on widows seven 64 bit
why I read C compiler version: Borland C++[b:3obec85s] 5.8.2[/b:3obec85s] (32-bit) ? |
release of bcc | There is nothing strange in BCC 5.8.2.
EMG |
release of bcc | Silvo
If you are using Bcc7 ... you need to get the matching compiled (x)Harbour binaries.. you can go to Mel's site or xHarbour.org.
Rick Lipkin |
release of bcc | [quote="Enrico Maria Giordano":o9nnot6f]There is nothing strange in BCC 5.8.2.
EMG[/quote:o9nnot6f]
If I 'm using bcc 7 give me from antonio why it wrote BCC 5.8.2. ? |
release of bcc | I found and tested with BCC63 a new release.
There was no problem.
Is it possible to keep the change using the new release ?
for BCC7.. ( new )
xHarbour 1.2.3 Intl. (SimpLex) ( [color=#0000FF:15c7mvjd][b:15c7mvjd]Build 20170902[/b:15c7mvjd][/color:15c7mvjd] )
Copyright 1999-2017, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
before I used xHarbour for BCC582
xHarbour 1.2.3 Intl. (SimpLex) ( [color=#0000FF:15c7mvjd][b:15c7mvjd]Build 20161218[/b:15c7mvjd][/color:15c7mvjd] )
Copyright 1999-2016, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
regards
Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
release of bcc | wich is the function return me the version od borland c , harbour and fwh ? |
release of bcc | Silvio,
DEFINE WINDOW oWnd FROM 0, 0 TO 700, 900 PIXEL ;
TITLE [color=#0000FF:bcgjtuw4][b:bcgjtuw4]FWVERSION[/b:bcgjtuw4][/color:bcgjtuw4] + " Harbour : " + [color=#0000FF:bcgjtuw4][b:bcgjtuw4]hb_compiler()[/b:bcgjtuw4][/color:bcgjtuw4]
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
release of bcc | Silvo
[code=fw:3pmwjr8x]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cCompiler := hb_compiler<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">// returns the borland compiler used to compile xHarbour</span><br />cFwVer := FWVERSION <span style="color: #B900B9;">// returns FWH Version</span><br /> </div>[/code:3pmwjr8x]
As I mentioned ... If you are using Borland Bcc73 you need the matching xHarbour Binaries ....
Rick Lipkin
From xHarbour.Org
[img:3pmwjr8x]http://i65.tinypic.com/28m1zxs.jpg[/img:3pmwjr8x]
From Mel's Site Whosaway.com // have to contact Mel for him to allow your IP address to download
[img:3pmwjr8x]http://i65.tinypic.com/2dgkykz.jpg[/img:3pmwjr8x] |
release of bcc | I'm using harbour now |
release of bcc | [img:1lf9l70q]https://s1.postimg.org/12f8mblbof/GGGG.png[/img:1lf9l70q]
[size=200:1lf9l70q]???????????????????????[/size:1lf9l70q]
harbour is made with bcc 5.8.2 ?????
BUT i LINK WITH BCC7 GIVE ME FROM Antonio...it's very strange
Where I can download harbour made with bcc 7 ? |
release of bcc | Silvio,
You can download from
<!-- m --><a class="postlink" href="http://www.xharbour.org/index.asp?page=download/windows/binaries_win">http://www.xharbour.org/index.asp?page= ... naries_win</a><!-- m -->
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
release of bcc | HARBOUR no xhabour |
release of bcc | FWH uses (x)Harbour libs built with bcc 7.0.
If we download (x)Harbour libs from FWH and build hb_compiler shows C++ 7.0 (32 bit).
Result of hb_complier() depends on the version of bcc7.0 used for building (x)Harbour libs used. |
release of bcc | Rao ,
Now I use Harbour ( no xharbour) and I have the last release of Fwh
the hb_compiler() function return me "bcc 5.8.2"
Perhaps there is something to bad when I go to compile but I checked and all is right |
release of bcc | What you see is the version of bcc used to build Harbour libs. Not the compiler you used to build your application.
You are using Harbour libs built using bcc 5.8.2.
Along with FWH, you also get Harbour libs. They are built using bcc 7.0. If you link those libs you will see bcc 7.0.
Note: When I said (x)Harbour it meant xHarbour and Harbour. |
release of bcc | [quote="nageswaragunupudi":3mfpr99b]What you see is the version of bcc used to build Harbour libs. Not the compiler you used to build your application.
You are using Harbour libs built using bcc 5.8.2.
Along with FWH, you also get Harbour libs. They are built using bcc 7.0. If you link those libs you will see bcc 7.0.
Note: When I said (x)Harbour it meant xHarbour and Harbour.[/quote:3mfpr99b]
I not understood I not have on my work folder bcc 5.8.2 but bcc 7 sent by Antonio
C_INSTALL=C:\work\bcc7
this are the libs I link
[code=fw:3mfpr99b]<div class="fw" id="{CB}" style="font-family: monospace;"><br />%C_LIB_INSTALL%\C0W32.OBJ=<span style="color: #000000;">1</span><br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">2</span><br />C:\Work\FWH\lib\Fiveh.lib=<span style="color: #000000;">3</span><br />C:\Work\FWH\lib\Fivehc.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\hbrtl.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\hbvm.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\hbgt.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\gtgui.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\hblang.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\hbmacro.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\hbcommon.lib=<span style="color: #000000;">11</span><br />%HB_LIB_INSTALL%\hbpp.lib=<span style="color: #000000;">12</span><br />%HB_LIB_INSTALL%\hbrdd.lib=<span style="color: #000000;">13</span><br />%HB_LIB_INSTALL%\rddntx.lib=<span style="color: #000000;">14</span><br />%HB_LIB_INSTALL%\rddcdx.lib=<span style="color: #000000;">15</span><br />%HB_LIB_INSTALL%\rddfpt.lib=<span style="color: #000000;">16</span><br />%HB_LIB_INSTALL%\hbwin.lib=<span style="color: #000000;">17</span><br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">18</span><br />%HB_LIB_INSTALL%\hbziparc.lib=<span style="color: #000000;">19</span><br />%HB_LIB_INSTALL%\hbcpage.lib=<span style="color: #000000;">20</span><br />%HB_LIB_INSTALL%\hbcplr.lib=<span style="color: #000000;">21</span><br />%HB_LIB_INSTALL%\hbmzip.lib=<span style="color: #000000;">22</span><br />%HB_LIB_INSTALL%\minizip.lib=<span style="color: #000000;">23</span><br />%HB_LIB_INSTALL%\xhb.lib=<span style="color: #000000;">24</span><br />%HB_LIB_INSTALL%\hbpcre.lib=<span style="color: #000000;">25</span><br />%HB_LIB_INSTALL%\hbct.lib=<span style="color: #000000;">26</span><br />%HB_LIB_INSTALL%\hbzlib.lib=<span style="color: #000000;">27</span><br />%C_LIB_INSTALL%\uuid.lib=<span style="color: #000000;">28</span><br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">29</span><br />%C_LIB_INSTALL%\PSDK\odbc32.lib=<span style="color: #000000;">30</span><br />%C_LIB_INSTALL%\PSDK\nddeapi.lib=<span style="color: #000000;">31</span><br />%C_LIB_INSTALL%\PSDK\iphlpapi.lib=<span style="color: #000000;">32</span><br />%C_LIB_INSTALL%\PSDK\msimg32.lib=<span style="color: #000000;">33</span><br />%C_LIB_INSTALL%\PSDK\ws2_32.lib=<span style="color: #000000;">34</span><br />%C_LIB_INSTALL%\PSDK\psapi.lib=<span style="color: #000000;">35</span><br />%C_LIB_INSTALL%\PSDK\rasapi32.lib=<span style="color: #000000;">36</span><br />%HB_LIB_INSTALL%\png.lib=<span style="color: #000000;">37</span><br />%C_LIB_INSTALL%\PSDK\shell32.lib=<span style="color: #000000;">38</span><br /> </div>[/code:3mfpr99b]
I use xmate and this is the my env
[code=fw:3mfpr99b]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #000000;">[</span>Environment<span style="color: #000000;">]</span><br />Description <span style="color: #000000;">1</span>=<span style="color: #00C800;">For</span> Borland <span style="color: #000000;">7</span><br />Description <span style="color: #000000;">2</span>=HARBOUR<br />Description <span style="color: #000000;">3</span>=<br />PRG Compiler ver=Harbour<br />C compiler ver=Bcc7<br />Subsystem=FWH1709<br />Author=Falconi Silvio<br />Last <span style="color: #0000ff;">update</span>=<span style="color: #000000;">04</span>/<span style="color: #000000;">23</span>/<span style="color: #000000;">2017</span><br /><br /><span style="color: #000000;">[</span>Advanced<span style="color: #000000;">]</span><br />Command types=<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><br /><br /><span style="color: #000000;">[</span>Harbour<span style="color: #000000;">]</span><br />HB_INSTALL=C:\work\XHARBOUR<br />HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /gc1 /es2 /a /i%HB_INC_INSTALL% /j%HOME%\I18n\Main.hil /iinclude;c:\work\fwh\include;%HB_INSTALL%\include<br />Option prefix=/<br /><br /><span style="color: #000000;">[</span>C<span style="color: #000000;">]</span><br />C_INSTALL=C:\work\bcc7<br />C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c %CRLF%-DHB_OS_WIN_32 %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-I%C_INC_INSTALL%\windows\sdk\;%HB_INC_INSTALL% -n%HOME%\Obj %C%%CRLF%%CRLF%%CRLF%<br />C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%<br />C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK%<br />C_RC_COMMAND=c:\work\PellesC\Bin\PORC.EXE %RC% /I c:\work\pellesc\include /I c:\work\pellesc\include\win<br />C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK%<br />Option prefix=-<br /><br /><span style="color: #000000;">[</span>User<span style="color: #000000;">]</span><br />POSTEXE_COMMAND=<br />POSTLIB_COMMAND=<br />POSTDLL_COMMAND=<br /><br /><span style="color: #000000;">[</span>Files<span style="color: #000000;">]</span><br />%C_LIB_INSTALL%\C0W32.OBJ=<span style="color: #000000;">1</span><br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">2</span><br />C:\Work\FWH\lib\Fiveh.lib=<span style="color: #000000;">3</span><br />C:\Work\FWH\lib\Fivehc.lib=<span style="color: #000000;">4</span><br />%HB_LIB_INSTALL%\hbrtl.lib=<span style="color: #000000;">5</span><br />%HB_LIB_INSTALL%\hbvm.lib=<span style="color: #000000;">6</span><br />%HB_LIB_INSTALL%\hbgt.lib=<span style="color: #000000;">7</span><br />%HB_LIB_INSTALL%\gtgui.lib=<span style="color: #000000;">8</span><br />%HB_LIB_INSTALL%\hblang.lib=<span style="color: #000000;">9</span><br />%HB_LIB_INSTALL%\hbmacro.lib=<span style="color: #000000;">10</span><br />%HB_LIB_INSTALL%\hbcommon.lib=<span style="color: #000000;">11</span><br />%HB_LIB_INSTALL%\hbpp.lib=<span style="color: #000000;">12</span><br />%HB_LIB_INSTALL%\hbrdd.lib=<span style="color: #000000;">13</span><br />%HB_LIB_INSTALL%\rddntx.lib=<span style="color: #000000;">14</span><br />%HB_LIB_INSTALL%\rddcdx.lib=<span style="color: #000000;">15</span><br />%HB_LIB_INSTALL%\rddfpt.lib=<span style="color: #000000;">16</span><br />%HB_LIB_INSTALL%\hbwin.lib=<span style="color: #000000;">17</span><br />%HB_LIB_INSTALL%\hbsix.lib=<span style="color: #000000;">18</span><br />%HB_LIB_INSTALL%\hbziparc.lib=<span style="color: #000000;">19</span><br />%HB_LIB_INSTALL%\hbcpage.lib=<span style="color: #000000;">20</span><br />%HB_LIB_INSTALL%\hbcplr.lib=<span style="color: #000000;">21</span><br />%HB_LIB_INSTALL%\hbmzip.lib=<span style="color: #000000;">22</span><br />%HB_LIB_INSTALL%\minizip.lib=<span style="color: #000000;">23</span><br />%HB_LIB_INSTALL%\xhb.lib=<span style="color: #000000;">24</span><br />%HB_LIB_INSTALL%\hbpcre.lib=<span style="color: #000000;">25</span><br />%HB_LIB_INSTALL%\hbct.lib=<span style="color: #000000;">26</span><br />%HB_LIB_INSTALL%\hbzlib.lib=<span style="color: #000000;">27</span><br />%C_LIB_INSTALL%\uuid.lib=<span style="color: #000000;">28</span><br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">29</span><br />%C_LIB_INSTALL%\PSDK\odbc32.lib=<span style="color: #000000;">30</span><br />%C_LIB_INSTALL%\PSDK\nddeapi.lib=<span style="color: #000000;">31</span><br />%C_LIB_INSTALL%\PSDK\iphlpapi.lib=<span style="color: #000000;">32</span><br />%C_LIB_INSTALL%\PSDK\msimg32.lib=<span style="color: #000000;">33</span><br />%C_LIB_INSTALL%\PSDK\ws2_32.lib=<span style="color: #000000;">34</span><br />%C_LIB_INSTALL%\PSDK\psapi.lib=<span style="color: #000000;">35</span><br />%C_LIB_INSTALL%\PSDK\rasapi32.lib=<span style="color: #000000;">36</span><br />%HB_LIB_INSTALL%\png.lib=<span style="color: #000000;">37</span><br />%C_LIB_INSTALL%\PSDK\shell32.lib=<span style="color: #000000;">38</span><br /><br /><span style="color: #000000;">[</span>DLL Files<span style="color: #000000;">]</span><br />%HB_LIB_INSTALL%\harbour.lib=<span style="color: #000000;">1</span><br />%C_LIB_INSTALL%\C0W32.OBJ=<span style="color: #000000;">2</span><br />%C_LIB_INSTALL%\CW32.LIB=<span style="color: #000000;">3</span><br />%C_LIB_INSTALL%\IMPORT32.LIB=<span style="color: #000000;">4</span><br /> </div>[/code:3mfpr99b] |
reload array on combobox | I reload an array for a combobox
then assign the new array on combobox
aGet[4]:SetItems( adata)
then I assign the first element
aGet[4]:Select( 1 ) <----------- not run
then I refresh the control
aGet[4]:refresh()
the problem is I not see the first data on combobox
I tried also with aGet[4]:nat:=1 <----------- not run |
remove formatting within a memo field | I am reading a SQL database via ADO.
one of the data Items I'm using is a memo field, with embedded formatting.
here is an example:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
\viewkind4\uc1\pard\f0\fs17 JH - Sue let me know that their rep had noticed that they were not performing the yearly escrow analysis.\par
}
What I wish to preserve is the message without the formatting:
JH - Sue let me know that their rep had noticed that they were not performing the yearly escrow analysis.
Is there a function that will remove these formatting characters automatically?
I noticed that using DBU the memoedit function appears to ignore MOST of these. |
remove formatting within a memo field | Don
I have used this to remove CRLF and carriage returns .. try this :
[code=fw:3ku0hhhm]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cText := HardCr<span style="color: #000000;">(</span> oRs:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Memo"</span><span style="color: #000000;">)</span>:<span style="color: #000000;">Value</span> <span style="color: #000000;">)</span><br /> </div>[/code:3ku0hhhm]
[quote:3ku0hhhm]
HardCR()
Replaces soft carriage returns with hard CRs in a character string.
Syntax
HardCR( <cString> ) --> cConvertedString
Arguments
<cString>
A character string to be converted. Return
The function returns <cString> with all soft carriage returns converted to hard carriage returns.
Description
Soft carriage returns (Chr(141)+Chr(10)) are inserted into a string by MemoEdit() when a line wraps during editing. The string returned from MemoEdit() retains soft carriage returns and is usually stored in a memo field. When such a string must be printed or displayed with another function than MemoEdit(), it is necessary to replace soft carriage returns with hard carriage returns (Chr(13)+Chr(10)) since soft carriage returns are not interpreted as end of line characters.
Note: when a memo field is output using a proportional font, use MemoTran() to replace soft carriage returns with a space character.
[/quote:3ku0hhhm]
Rick Lipkin |
remove formatting within a memo field | This function is not perfect, but it is an idea
[code=fw:19qpbayg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> cString<br /> <span style="color: #00C800;">local</span> cTmp1 := <span style="color: #ff0000;">""</span><br /> <span style="color: #00C800;">local</span> nPos1 := <span style="color: #000000;">0</span><br /> <span style="color: #00C800;">local</span> nPos2 := <span style="color: #000000;">0</span><br /> <br /> cString := <span style="color: #ff0000;">"{<span style="color: #000000;">\r</span>tf1<span style="color: #000000;">\a</span>nsi<span style="color: #000000;">\a</span>nsicpg1252<span style="color: #000000;">\d</span>eff0<span style="color: #000000;">\d</span>eflang1033{<span style="color: #000000;">\f</span>onttbl{<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>nil<span style="color: #000000;">\f</span>charset0 Microsoft Sans Serif;}}"</span> + ;<br /> <span style="color: #ff0000;">"<span style="color: #000000;">\v</span>iewkind4<span style="color: #000000;">\u</span>c1<span style="color: #000000;">\p</span>ard<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>s17 JH - Sue let me know that their rep had noticed that they were not performing the yearly escrow analysis.<span style="color: #000000;">\p</span>ar"</span> + ;<br /> <span style="color: #ff0000;">"}"</span><br /> <br /> cString := StrTran<span style="color: #000000;">(</span> cString, CRLF, <span style="color: #ff0000;">""</span> <span style="color: #000000;">)</span><br /> nPos1 := <span style="color: #00C800;">At</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"{<span style="color: #000000;">\"</span>, cString )<br /> if !Empty( nPos1 )<br /> nPos2 := At( "</span><span style="color: #000000;">}</span><span style="color: #ff0000;">", cString )<br /> if !Empty( nPos2 )<br /> cTmp1 := Substr( cString, nPos1, nPos2 - nPos1 + 1 )<br /> cString := StrTran( cString, cTmp1, "</span><span style="color: #ff0000;">" )<br /> cString := StrTran( cString, "</span><span style="color: #000000;">}</span><span style="color: #ff0000;">", "</span><span style="color: #ff0000;">" )<br /> cString := StrTran( cString, "</span><span style="color: #000000;">{</span><span style="color: #ff0000;">", "</span><span style="color: #ff0000;">" )<br /> nPos1 := At( "</span>\<span style="color: #ff0000;">", cString )<br /> if !Empty( nPos1 )<br /> nPos2 := At( Chr( 32 ), cString )<br /> cTmp1 := Substr( cString, nPos1, nPos2 - nPos1 + 1 )<br /> cString := StrTran( cString, cTmp1, "</span><span style="color: #ff0000;">" )<br /> endif<br /> cString := StrTran( cString, "</span>\par<span style="color: #ff0000;">", "</span><span style="color: #ff0000;">" )<br /> endif<br /> endif<br /> ? cString<br /><br />Return nil<br /><br /><br /></span></div>[/code:19qpbayg] |
remove formatting within a memo field | Cristobal,
That is essentially what I did.
thanks for providing your input.
Don. |
remove formatting within a memo field | You are not going to have a TRichEdit control?
It's just going to have a formatted string, right? |
remove formatting within a memo field | correct.
I'm wishing to print the memo data on a report without all of the embedded formatting. |
remove formatting within a memo field | What I mean is that the string does not read from a RichEdit control, does it? |
remove icon cCaption (Antonio Help) | HI, How remover icon that stay before Title of window ?
[img:14yz4f1l]http://www.redstarsoft.com.br/tmp/remover_icone.JPG[/img:14yz4f1l] |
remove icon cCaption (Antonio Help) | Someone can help ? |
remove icon cCaption (Antonio Help) | Hello,
I found a solution for Your problem ( The space of the Icon is empty ) :
[img:1773tkls]http://www.pflegeplus.com/pictures/noicon.jpg[/img:1773tkls]
[code=fw:1773tkls]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">ICON</span> oIcon <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"BLANC"</span><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">MAXIMIZED</span> ;<br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">(</span> oWnd:<span style="color: #000000;">SetIcon</span><span style="color: #000000;">(</span> oIcon <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> ;<br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> <span style="color: #000000;">(</span> gradpaint0<span style="color: #000000;">(</span> hDC, oWnd <span style="color: #000000;">)</span>, ;<br />ABPaint<span style="color: #000000;">(</span> hDC, <span style="color: #000000;">20</span>, <span style="color: #000000;">20</span>, oBmp1:<span style="color: #000000;">hBitmap</span>, <span style="color: #000000;">220</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <br /><br /><span style="color: #B900B9;">// ICON-resource</span><br /><br />BLANC <span style="color: #0000ff;">ICON</span> <br /><span style="color: #000000;">{</span><br /> <span style="color: #ff0000;">'00 00 01 00 01 00 10 10 10 00 00 00 00 00 28 01'</span><br /> <span style="color: #ff0000;">'00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00'</span><br /> <span style="color: #ff0000;">'00 00 01 00 04 00 00 00 00 00 80 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'</span><br /> <span style="color: #ff0000;">'00 00 80 00 80 00 80 80 00 00 80 80 80 00 C0 C0'</span><br /> <span style="color: #ff0000;">'C0 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'</span><br /> <span style="color: #ff0000;">'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'</span><br /> <span style="color: #ff0000;">'00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'</span><br /> <span style="color: #ff0000;">'00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'</span><br /> <span style="color: #ff0000;">'00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF'</span><br /> <span style="color: #ff0000;">'00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00'</span><br /><span style="color: #000000;">}</span><br /><br /> </div>[/code:1773tkls]
Regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
remove icon cCaption (Antonio Help) | the reason that i want remove icon is to dont have space ukoenig,
don´t have commad to remove it ?
thanks |
remove icon cCaption (Antonio Help) | Have you ever seen a window without an icon (or a space)? I don't remember ever seeing one.
Regards,
James |
remove icon cCaption (Antonio Help) | Yes,
WHen you use STYLE (WS_THICKFRAME) in windows, don´stay with icon,
but too don´t stay with button minimize, maximize, close etc..
i want only remove icon and no stay space... thanks |
remove icon cCaption (Antonio Help) | Maybe this will help:
[url:139awmg6]http://msdn.microsoft.com/en-us/library/czada357(VS.71).aspx[/url:139awmg6]
Regards,
James |
remover espacios en TXBrowse | Hola,
¿Cómo puedo eliminar los espacios en blanco de la foto, ref A y ref B?. Muchas gracias a todos.
[img][url=http://img252.imageshack.us/my.php?image=xbrowsepm7.gif:26302kuw][img]http://img252.imageshack.us/img252/5384/xbrowsepm7.th.gif[/img][/url:26302kuw][/img] |
remover espacios en TXBrowse | ALLTRIM.
RTRIM
LTRIM
Ó
PADR()
PADL() |
remover espacios en TXBrowse | Hola:
Gracias, pero son métodos del browse, no de los datos. COn un LISTBOX funciona OK. |
remover espacios en TXBrowse | [quote="edu_parada":1lis7svr]Hola:
Gracias, pero son métodos del browse, no de los datos. COn un LISTBOX funciona OK.[/quote:1lis7svr]
Esto no és una PANTALLA(WINDOW CHILD)? |
remover espacios en TXBrowse | Si usas un splitter tendrás que redimensionarlo con este control ( oSplitter : Adjust( .t.,.t.,.f.,.t.) ) ), si es sobre una ventana MDI oWnd : SetControl( xBrowse ). Espero que sea esto lo que busques. Saludos |
remover espacios en TXBrowse | Hola;
No, me refiero a eliminar los espacios que deja el propìo Browse. El browse está ajustado a la ventana, no que NO se ajustan son las columnas internas,.
Muchas gracias. |
remover espacios en TXBrowse | Edu,
el espacio de la derecha se peude resolver con una columan "fantasma", sin contenido.
Creo que el XBrowse tiene un
[code:2w4nbwtc]
lColDividerComplete,; // If true the vertical lines are displayed to the bottom of the browse even
[/code:2w4nbwtc]
que dibuja la grilla hasta el final.
Por cierto, que usas para dibujar las Explorerbars?
Saludos,
Carlos. |
remover espacios en TXBrowse | Carlos,
Muchas gracias por la respuesta. Con coldivider... soluciono el espacio B y el espacio A probaré con la columna fantasma.
El control que uso es Vtaskbar de canalfive. Va de lujo.
Salu2 |
rename and erase a file from fwh | Prova ...
cFile = cperete+"\menu.exe" // prog. su server
cfile0 = "menu.exe" // prog. su client
cfile1 = "menu1.exe"
DELETEFILE(CFILE1)
MOVEFILE(CFILE0,CFILE1)
COPYFILE(CFILE,CFILE0)
Saluti
Stefano |
rename and erase a file from fwh | Search FRename and FErase |
rename and erase a file from fwh | How I can rename a file from fwh ?
..and how I can erase a file ?
Wich is the commands ? |
rename and erase a file from fwh | sorry I tried all this morning with
FRENAME( oldname, cFolderAllegati+cRecord+"--"+cnewname ) with no success
then I saw i made a mistake |
rendimiento de dbsetfilter vs. SET FILTER TO | Hola:
Bajo Harbour y sin ADS, y usando archivos DBF/NTX, ¿el rendimiento de ambas funciones es igual o, por el contrario, una es mejor que otra?.
Muchas gracias. |
rendimiento de dbsetfilter vs. SET FILTER TO | EL comando Set Filter es traducido a dbsetfilter por el preprocesador de harbour, por lo que es la misma cosa.
Solamente cuando se trabaja con ADS y en modo C/S es que dbsetfilter es la eleccion a escojer. Es esta modalidad es sujerido no usar variables para realizar el filtro, y evitar el uso de variables.
ejemplo
cCod := "001"
cFiltro := "COD_NAME=" + "'"+cCod+"'"
dbsetfilter( cFiltro, &(cFiltro) ) //optimizado para C/S
salu2
carlos vargas |
renombrar archivos dbf | Hola. Les hago una pregunta. Por diversas razones, especialmente las de dejar mis bases .dbf un poco mas resguardadas de cualquier usuario que las vea y como estan asociadas a excel las pueda abrir (no puedo implementar seguridad en todas las redes donde corro mis programas). Quiro cambiar la extencion de mis bases de datos e indices dentro de un programa hecho con fwh: de base.dbf a base.sar y de indice.ntx a indice.srx, por ejemplo. Probe y siempre y cuando haga los USE con la extencion, funciona de 10; mi duda es si alguno conoce alguna funcion con la que pueda tener problemas, o si se les ocurre algun error que pueda llegar a tener si hago esto. Como les decía, arme un prg de prueba, y si hago use base.sar en lugar de use base, y set index to indice.srx en lugar de set index to indice, funciona perfecto. Bueno, espero sus comentarios. Gracias desde ya. Atte. |
renombrar archivos dbf | Yo utilizaria las funciones de encriptamiento y desencriptamiento, no vas a tener que cabiar la extensión y si bien van a poder abrir los archivos con excel no se va a entender nada del contenido de la tabla.
Saludos, |
renombrar archivos dbf | Si, pero es muchisimo mas trabajo; es campo por campo; de la otra manera tendría que cambiar mucho menos código. ¿alguno probó renombrar los .dbf alguna vez? yo se que es medio loco, pero como funciónó... ¿alguno que sepa de programacion de las librerias, y de los .ch, tiene idea si esto me puede ocacionar algun quilombo? ¿si cuando se arman las librerías se asume que lo que se lee es .dbf? Gracias.
[quote="jrestojeda":2zjniygm]Yo utilizaria las funciones de encriptamiento y desencriptamiento, no vas a tener que cabiar la extensión y si bien van a poder abrir los archivos con excel no se va a entender nada del contenido de la tabla.
Saludos,[/quote:2zjniygm] |
renombrar archivos dbf | DESDE HACE MAS DE 15 AñOS YO NO USO LAS EXTENSIONES DBF Y NTX, TE ASEGURO QUE NINGUN PROBLEMA TENDRAS |
renombrar archivos dbf | No tendras ningún problema si cambias las extensiones de los ficheros.
Otra posibilidad que tienes, es cambiar el primer byte del encabezado de los DBF, con esto aunque tenga extensión DBF, el fiechero sera irreconocible para Excel y otros.
Ese primer byte tiene como valor 03H si no tiene campos memo, y 83H si tiene campos memo, lo sustituyes por otro valor y sera irreconocible por otros programas. |
renombrar archivos dbf | diegopolverelli,
Yo uso desde hace años los archivos con otra extensión... es util para los que meten siempre la mano, para hacersela un poco mas dificil.
Yo los uso asi: nombrearchivo.d?? donde ?? es el año de trabajo, y los indices como nombreindice.i?? donde ?? es el año de trabajo. Nunca hasta hace poco había usado campos memo, y ahi fue donde tuve problemas con un tercer archivo que se genera solo con extensión fpt. Se me complicaron las cosas cuando tuve que modificar automaticamente las bases de datos, agregar o quitar campos, entonces llamé esas bases de datos e indices asi: nombrearchivo??.d??, nombreindice??.i?? y el archivo con los memos se llama solito nombrearchivo??.fpt y problema resuelto.
Saludos y suerte |
renombrar archivos dbf | Gracias. Voy a probar entonces.
[quote="pymsoft":1y2kgvlt]diegopolverelli,
Yo uso desde hace años los archivos con otra extensión... es util para los que meten siempre la mano, para hacersela un poco mas dificil.
Yo los uso asi: nombrearchivo.d?? donde ?? es el año de trabajo, y los indices como nombreindice.i?? donde ?? es el año de trabajo. Nunca hasta hace poco había usado campos memo, y ahi fue donde tuve problemas con un tercer archivo que se genera solo con extensión fpt. Se me complicaron las cosas cuando tuve que modificar automaticamente las bases de datos, agregar o quitar campos, entonces llamé esas bases de datos e indices asi: nombrearchivo??.d??, nombreindice??.i?? y el archivo con los memos se llama solito nombrearchivo??.fpt y problema resuelto.
Saludos y suerte[/quote:1y2kgvlt] |
renombrar archivos dbf | Podrias cambiar a ADS local son mas rápidos, y en el caso de encriptacion son unas lineas que tienes que declarar al principio y te olvidas de lo demas.
Si no te decides por esta opción, no tienes ningun problemas, SOLO QUE TIENES QUE DECLARA LA EXTENSION A CADA BASE E INDICIE. |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | Dear All,
This could be a silly question but I think it's worth the try.
I have an SQL query which alias uses by xBrowse. This query resulted to static (views) and I need to refresh it.
I know and i'm aware that static cursors/views are read-only and cannot be update-able and the only solution is to close and re-open it again.
So I looking at re-executing the SQL script if I wish to refresh records.
But active xBrowse with this SQL alias does not allow it to be closed.
Is there a way xBrowse can be paused while I close and reopen again SQL alias? |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | Dear All,
a less complicated solution is to open the SQL alias with different alias used by xBrowse and assign it.
Any more better ideas are welcome. |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | [quote:3ouis4np]a less complicated solution is to open the SQL alias with different alias used by xBrowse and assign it.
[/quote:3ouis4np]
This is right solution |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | Francis
If you use objects for your recordset .. you can oRs:CLose() and then oRs:Open() with a new query and then oLbx:ReFresh() .. just do not reassign oRs .. leave its properties intact.
Rick Lipkin |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | [quote="Rick Lipkin":1rr8uzb0]Francis
If you use objects for your recordset .. you can oRs:CLose() and then oRs:Open() with a new query and then oLbx:ReFresh() .. just do not reassign oRs .. leave its properties intact.
Rick Lipkin[/quote:1rr8uzb0]
Mr Rick
That is because the way of your coding. You use oRs directly in all codeblocks.
But we designed xbrowse to safely reassign oRs
In fact in most of the cases, after creating the xbrowse, there is no need to use the oRs variable in our program code. |
reopen xBrowse alias resulted in error - PARTIALLY SOLVED | RAO,
Rick,
Thanks for the feedback.
I'm in the middle of earth between shortest code and efficiency.. so far both your recommendations are worth considering. |
reparar dbfs | saludos, alguien sabe de una utileria para reparar dbfs dañadas??
se me fue la luz y se me daño una tabla immportante y no puedo recuperarla..
saludos
arvisnet |
reparar dbfs | Arvisnet,
si es DBF ai te va: esta el Advanced DBF repair
salu2
paco |
reparar dbfs | Francisco, serias tan amable de enviarmelo tambien? Aun uso el viejo filefix del NU8.
Gracias
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.