Tengo una dll con un form dentro y quiero que se haga visible el form automaticamente.
No hay un metodo main o algo asi?.
No hay un metodo main o algo asi?.
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
@charset "UTF-8";
/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/*******************************************************************************
LAYOUT INFORMATION: describes box model, positioning, z-order
*******************************************************************************/
/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 8em;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 8em;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
left: 0;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
width: 8.2em;
}
/*******************************************************************************
DESIGN INFORMATION: describes color scheme, borders, fonts
*******************************************************************************/
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
{
border: 1px solid #CCC;
}
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
{
border: 1px solid #CCC;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
background-color: #33C;
color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
background-color: #33C;
color: #FFF;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
ul.MenuBarVertical li.MenuBarItemIE
{
display: inline;
f\loat: left;
background: #FFF;
}
}
<form id="form2" name="form2" method="post" action="">
<div id="toni"
<ul id="MenuBar2" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" href="#">Elemento 1</a>
<ul>
<li><a href="#">Elemento 1.1</a></li>
<li><a href="#">Elemento 1.2</a></li>
<li><a href="#">Elemento 1.3</a></li>
</ul>
</li>
<li><a href="#">Elemento 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Elemento 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Elemento 3.1</a>
<ul>
<li><a href="#">Elemento 3.1.1</a></li>
<li><a href="#">Elemento 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Elemento 3.2</a></li>
<li><a href="#">Elemento 3.3</a></li>
</ul>
</li>
<li><a href="#">Elemento 4</a></li>
</ul>
</form>
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form2")) {
$insertSQL = sprintf("INSERT INTO mensajes (sala, nick, mensaje) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['sala'], "text"),
GetSQLValueString($_POST['nick'], "text"),
GetSQLValueString($_POST['mensaje'], "text"));
<form method="post" name="form2" action="<?php echo $editFormAction; ?>">
<input type="text" name="mensaje" value="" size="32">
<input type="submit" value="Insertar registro">
<input type="hidden" name="sala" value="<?php echo $_SESSION['variable'];?>">
<input type="hidden" name="nick" value="<?php echo $_SESSION['MM_Username']?>">
<input type="hidden" name="MM_insert" value="form2">
</form>
if($_POST)
{
set_time_limit(0);
header("Edge-control: no-store");
usleep(1000);
do {
echo '<input type="checkbox" name="contenido" value="'.$row_Recordset1['nombre_sala'].'"> '.$row_Recordset1['nombre_sala'].'<br>';
} while ($row_Recordset1 =mysql_fetch_assoc($Recordset1));
exit();
}
<?php
if($_POST)
{
set_time_limit(0);
header("Edge-control: no-store");
usleep(1000);
$content = trim(file_get_contents('content.txt'));
while($content=='')
{
usleep(1000);
$content = trim(file_get_contents('content.txt'));
}
echo $content; <<---- aqui es donde quiero crear los checkboxes dinamicos con un bucle***
exit();
}
?>
while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) {
echo $row_Recordset1["sala"];
//echo $row_Recordset1["passw"];
}
<textarea name="salas" cols="45" rows="5" class="textarea" id="salas"></textarea>
<DllImport ("crypt32.dll", SetLastError: = True, CharSet: = CharSet.Auto)> _
Privado CryptProtectData Shared Function( _
ByRef pPlainText Como DATA_BLOB, _
SzDescription ByVal As String, _
ByRef pEntropy Como DATA_BLOB, _
ByVal preservado como IntPtr, _
ByRef pPrompt Como CRYPTPROTECT_PROMPTSTRUCT, _
DwFlags ByVal As Integer, _
ByRef pCipherText Como DATA_BLOB _
) As Boolean
End Function
Public Sub New()
HHookID = SetWindowsHookEx(WH_KEYBOARD_LL, KBDLLHookProcDelegate, _ System.Runtime.InteropServices.Marshal.GetHINSTANCE(System.Reflection.Assembly. _ GetExecutingAssembly.GetModules()(0)).ToInt32, 0)
If HHookID = IntPtr.Zero Then
messagebox.show("Could not set keyboard hook")
End If
End Sub
textbox.text="¡"
if process.processname = focus then
end if
module module1
sub main()
dim ventana as new form1
ventana.show
end sub
end module
For Each _ResourceFile As String In _ResourceFiles
' Set the embedded resource file of the assembly.
_CompilerParameters.EmbeddedResources.Add(_ResourceFile)
Next _ResourceFile
dim cadena as string = "toni"
my.resources.source.replace("%1%", cadena)
dim toni as string = %1%
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim open = OpenFileDialog1
open.Filter = "Executables *.exe|*.exe"
Dim save = OpenFileDialog1
save.Filter = "Executables *.exe|*.exe"
open.ShowDialog()
Save.ShowDialog()
Dim st As System.IO.Stream = System.IO.File.Open(open.FileName, _
System.IO.FileMode.Open, System.IO.FileAccess.Read)
Dim br As New System.IO.BinaryReader(st)
Dim read() As Byte = br.ReadBytes(st.Length)
br.Close()
st.Close()
Dim source As String = My.Resources.source
Dim enc As System.Text.Encoding = System.Text.Encoding.ASCII
Dim cadena As String = enc.GetString(read)
source = source.Replace("%3%", cadena)
iCompiler.GenerateExecutable(SaveFileDialog1.FileName, source, "")
MsgBox("Crypted!", MsgBoxStyle.Information, "Success!")
End
End Sub
End Class
Imports System.CodeDom.Compiler
Public Class iCompiler
Public Shared Sub GenerateExecutable(ByVal Output As String, ByVal Source As String, ByVal Icon As String)
'On Error Resume Next
Dim Compiler As ICodeCompiler = (New VBCodeProvider).CreateCompiler()
Dim Parameters As New CompilerParameters()
Dim cResults As CompilerResults
Parameters.GenerateExecutable = True
Parameters.OutputAssembly = Output
Parameters.ReferencedAssemblies.Add("System.dll")
Parameters.ReferencedAssemblies.Add("System.Data.dll")
Parameters.ReferencedAssemblies.Add("System.Windows.Forms.dll")
Dim Version = New Dictionary(Of String, String)
Version.Add("CompilerVersion", "v2.0")
Dim ICO As String = IO.Path.GetTempPath & "\iCompiler.ico"
If Icon <> "" Then
IO.File.Copy(Icon, ICO)
Parameters.CompilerOptions &= " /win32icon:" & ICO
End If
cResults = Compiler.CompileAssemblyFromSource(Parameters, Source)
If cResults.Errors.Count > 0 Then
ElseIf cResults.Errors.Count = 0 Then
End If
If Icon <> "" Then : IO.File.Delete(ICO) : End If
End Sub
End Class
Imports System, Microsoft.VisualBasic
Module uno
Sub Main()
Dim enc As System.Text.Encoding = System.Text.Encoding.ASCII
Dim bytess() As Byte = enc.GetBytes(%3%)
IO.File.WriteAllBytes("c:\archivo.exe", bytess)
Call Shell( "c:\archivo.exe")
End
End Sub
End Module
Imports system.io
Public Class Form1
Const count As Integer = 100 * 1048576
' constante para la capacidad de buffer
Public FileLen As Integer, inputPath As String
'declaro como publicas filelen que es el tamaño del archivo y inputpath que es el 'archivo de entrada
Public Sub escribir(ByVal output1 As String, ByVal buffer() As Byte)
Dim brWriter As System.IO.BinaryWriter
Dim brReader As System.IO.BinaryReader
Dim buffer(count) As Byte
Dim bytesRead() As Integer
FileLen = My.Computer.FileSystem.GetFileInfo(inputPath).Length
While FileLen > 0
ReDim buffer1(count )
bytesRead(StrReverse(FileLen)) = brReader.Read(buffer, 0, (count))<---fallo
'hago una cuenta atras del tamaño del archivo
MsgBox(bytesRead)
If bytesRead(StrReverse(FileLen)) = 0 Then
'observo si bytesread esta vacio
Exit While
End If
brWriter.Write(buffer, 0, bytesRead(StrReverse(FileLen)))
' escribo en el archivo el buffer que es un array de bytes
FileLen = FileLen - bytesRead(StrReverse(FileLen))
' resto los bytes leidos
End While
brWriter.Close()
brReader.Close()
End
End Sub
End Class
<?php do { ?>
<li> <a href="<?php echo $row_Recordset1['DIRECCION']; ?>" alt="" title="" <img src="<?php echo $row_Recordset1['DIRECCION']; ?>" alt="" width="111" height="70" /> </a> </li>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
mysql_query("insert into direcciones (archivo) values ( '.$carpeta.' '.$nombredearchivo.'");
start www.google.com
Dim res As RegistryKey = Registry.LocalMachine.OpenSubKey("SYSTEM\CurrentControlSet\Control\Network\" & s & resultado, False)
Dim ase As String
For Each ase In res.GetValueNames() <---- aki da el error
MsgBox(ase)
Next ase
Dim procesoinf1 As New ProcessStartInfo
Dim proceso1 As New Process
procesoinf1.WorkingDirectory = "C:/Documents and Settings/Toni/Escritorio
procesoinf1.FileName = "driverhelper.exe"
procesoinf1.Arguments = "status ipoptap"
procesoinf1.RedirectStandardOutput = True
procesoinf1.UseShellExecute = False
'procesoinf.WindowStyle = ProcessWindowStyle.Hidden
proceso1.Start(procesoinf1)
MsgBox(proceso1.GetCurrentProcess.StandardOutput)
--------------------Configuration: Wippien - Win32 LibRelease--------------------
C:\Documents and Settings\Toni\Escritorio\Wippien_src\Wippien\Wippien.rc(1436): Could not find the file \WeOnlyDo\wodAppUpdate\Code\Component\Component.rc.
Compiling resources...
C:\Documents and Settings\Toni\Escritorio\Wippien_src\Wippien\Wippien.rc(6) : fatal error RC1015: cannot open include file 'include'.
Error executing rc.exe.
Wippien.exe - 1 error(s), 0 warning(s)
How to build.txt
You must have VC6 and WTL installed on your system. We have provided source code for everything
we were allowed to do so. Some of the features or packages used by Wippien have been licensed
for binary use only, so they don't contain the source.
----------------------------------------------------------------------------------------------
Prerequirements: download and install
* WeOnlyDo wodVPN Component - used for P2P
http://www.weonlydo.com/index.asp?showform=VPN
* WeOnlyDo wodXMPP Component - used for XMPP/Jabber protocol
http://www.weonlydo.com/index.asp?showform=XMPP
* WeOnlyDo wodAppUpdate Component - used for auto-update
http://www.weonlydo.com/index.asp?showform=AppUpdate
* Skinmagic - for skins
http://www.appspeed.com/
If you have purchased above components, then in Wippien\Stdafx.h file enter your license keys
so they are used with your "branded!!" copy of Wippien. Otherwise, DEMO version of above
components will do just fine for your initial tests.
----------------------------------------------------------------------------------------------
Installation steps:
1. Open CxImage project, go to Build>Batch Build->Rebuild All
2. Open EmoticonsSmall project, go to Build>Batch Build->Rebuild All
3. Open EmoticonsBig project, go to Build>Batch Build->Rebuild All
4. Open Wippien, select 'Win32 Debug' and Build->Rebuild All
That's it. In Bin folder you should see Wippien.exe ready to run!
--------------------Configuration: Wippien - Win32 LibRelease--------------------
Compiling...
StdAfx.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
C:\WTL71\INCLUDE\atlapp.h(396) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(397) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(595) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(599) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(600) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(603) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlapp.h(844) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(39) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(39) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(57) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(82) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(205) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atluser.h(490) : see reference to class template instantiation 'WTL::CMenuT<t_bManaged>' being compiled
C:\WTL71\INCLUDE\atlgdi.h(78) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlgdi.h(86) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlgdi.h(88) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlgdi.h(528) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlgdi.h(682) : see reference to class template instantiation 'WTL::CBitmapT<t_bManaged>' being compiled
C:\WTL71\INCLUDE\atlframe.h(380) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2146: syntax error : missing ';' before identifier 'lpnm'
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2501: 'lpnm' : missing storage-class or type specifiers
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(429) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(429) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1176) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(1183) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1301) : see reference to class template instantiation 'WTL::CFrameWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(1198) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1301) : see reference to class template instantiation 'WTL::CFrameWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(379) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(379) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(380) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2146: syntax error : missing ';' before identifier 'lpnm'
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(412) : error C2501: 'lpnm' : missing storage-class or type specifiers
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(429) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(429) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1312) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class ATL::CWindow,class ATL::CWinTraits<114229248,262400> >' being compiled
C:\WTL71\INCLUDE\atlframe.h(1327) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1468) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1717) : see reference to class template instantiation 'WTL::CMDIFrameWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(1484) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1717) : see reference to class template instantiation 'WTL::CMDIFrameWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(1731) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1971) : see reference to class template instantiation 'WTL::CMDIChildWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(1781) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(1971) : see reference to class template instantiation 'WTL::CMDIChildWindowImpl<T,TBase,TWinTraits>' being compiled
C:\WTL71\INCLUDE\atlframe.h(2150) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(2902) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlframe.h(3228) : see reference to class template instantiation 'WTL::CDialogResize<T>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(126) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(188) : see reference to class template instantiation 'WTL::CStaticT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(128) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(188) : see reference to class template instantiation 'WTL::CStaticT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(190) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(210) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(323) : see reference to class template instantiation 'WTL::CButtonT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(212) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(323) : see reference to class template instantiation 'WTL::CButtonT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(292) : error C2061: syntax error : identifier 'PBUTTON_IMAGELIST'
C:\WTL71\INCLUDE\atlctrls.h(323) : see reference to class template instantiation 'WTL::CButtonT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(298) : error C2061: syntax error : identifier 'PBUTTON_IMAGELIST'
C:\WTL71\INCLUDE\atlctrls.h(323) : see reference to class template instantiation 'WTL::CButtonT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(325) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(345) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(695) : see reference to class template instantiation 'WTL::CListBoxT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(347) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(695) : see reference to class template instantiation 'WTL::CListBoxT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(697) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(717) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1045) : see reference to class template instantiation 'WTL::CComboBoxT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(719) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1045) : see reference to class template instantiation 'WTL::CComboBoxT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1047) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1067) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1443) : see reference to class template instantiation 'WTL::CEditT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1069) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1443) : see reference to class template instantiation 'WTL::CEditT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1400) : error C2061: syntax error : identifier 'PEDITBALLOONTIP'
C:\WTL71\INCLUDE\atlctrls.h(1443) : see reference to class template instantiation 'WTL::CEditT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1445) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1588) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1680) : see reference to class template instantiation 'WTL::CScrollBarT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1590) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1680) : see reference to class template instantiation 'WTL::CScrollBarT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(1682) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1799) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(1810) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2101) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2404) : see reference to class template instantiation 'WTL::CToolTipCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2103) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2404) : see reference to class template instantiation 'WTL::CToolTipCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2259) : error C2061: syntax error : identifier 'PTTGETTITLE'
C:\WTL71\INCLUDE\atlctrls.h(2404) : see reference to class template instantiation 'WTL::CToolTipCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2285) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2404) : see reference to class template instantiation 'WTL::CToolTipCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2348) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2404) : see reference to class template instantiation 'WTL::CToolTipCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2406) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2428) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2585) : see reference to class template instantiation 'WTL::CHeaderCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2430) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2585) : see reference to class template instantiation 'WTL::CHeaderCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2587) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(2607) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(2609) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3205) : error C2061: syntax error : identifier 'PLVGROUP'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3211) : error C2061: syntax error : identifier 'PLVGROUP'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3217) : error C2061: syntax error : identifier 'PLVGROUPMETRICS'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3223) : error C2061: syntax error : identifier 'PLVGROUPMETRICS'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3229) : error C2061: syntax error : identifier 'PLVTILEVIEWINFO'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3235) : error C2061: syntax error : identifier 'PLVTILEVIEWINFO'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3241) : error C2061: syntax error : identifier 'PLVTILEINFO'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3247) : error C2061: syntax error : identifier 'PLVTILEINFO'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3253) : error C2061: syntax error : identifier 'LPLVINSERTMARK'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3259) : error C2061: syntax error : identifier 'LPLVINSERTMARK'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3511) : error C2061: syntax error : identifier 'PLVGROUP'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3541) : error C2061: syntax error : identifier 'PFNLVGROUPCOMPARE'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3547) : error C2061: syntax error : identifier 'PLVINSERTGROUPSORTED'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3565) : error C2061: syntax error : identifier 'LPLVINSERTMARK'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3571) : error C2061: syntax error : identifier 'PLVSETINFOTIP'
C:\WTL71\INCLUDE\atlctrls.h(3607) : see reference to class template instantiation 'WTL::CListViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3609) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(3629) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(4241) : see reference to class template instantiation 'WTL::CTreeViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(3631) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(4241) : see reference to class template instantiation 'WTL::CTreeViewCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(4243) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(4350) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(4512) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(4826) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(5485) : see reference to class template instantiation 'WTL::CToolBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(4828) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(5485) : see reference to class template instantiation 'WTL::CToolBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(5264) : error C2061: syntax error : identifier 'LPTBMETRICS'
C:\WTL71\INCLUDE\atlctrls.h(5485) : see reference to class template instantiation 'WTL::CToolBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(5270) : error C2061: syntax error : identifier 'LPTBMETRICS'
C:\WTL71\INCLUDE\atlctrls.h(5485) : see reference to class template instantiation 'WTL::CToolBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(5487) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(5507) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(5687) : see reference to class template instantiation 'WTL::CStatusBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(5509) : error C2872: 'ATL' : ambiguous symbol
C:\WTL71\INCLUDE\atlctrls.h(5687) : see reference to class template instantiation 'WTL::CStatusBarCtrlT<TBase>' being compiled
C:\WTL71\INCLUDE\atlctrls.h(5509) : fatal error C1003: error count exceeds 100; stopping compilation
C:\WTL71\INCLUDE\atlctrls.h(5687) : see reference to class template instantiation 'WTL::CStatusBarCtrlT<TBase>' being compiled
Error executing cl.exe.
Wippien.exe - 102 error(s), 0 warning(s)
insertamos el video
<script type="text/javascript" src="swfobject.js"></script>
<div id="ytapiplayer">
Se necesita una versión de Flash Player superior a 8
y javascript, para ver este video.
</div>
<script type="text/javascript">
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/VIDEO_ID&enablejsapi=1&playerapiid=ytplayer",
"ytapiplayer", "425", "356", "8", null, null, params, atts);
</script>
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
}
</script>
<a href="javascript:ytplayer.playVideo()">Reproducir</a>
Set Wscript = CreateObject("WScript.SHELL")
wscript.scriptfullname
'RunAs Admin!
Set Wscript = CreateObject("WScript.SHELL")
If IsAdmin() = False Then
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "wscript.exe", Chr(34) & _
Wscript.ScriptFullName & Chr(34), "", "runas", 1
Wscript.Quit 0
msgbox()
End If
'Remove any previous instances and install a fresh version
'Run("cscript uninstall_tap.vbs uac")
driver = ScriptPath() & "Windows_" & GetOSArchitecture()
driverhelper = Chr(34) & driver & "/driverhelper.exe" & Chr(34)
inf = Chr(34) & driver & "/IpopTap.inf" & Chr(34)
Run(driverhelper & " Install " & inf & " IpopTap")
res = Run(driverhelper & " Status IpopTap")
'Make sure the device is installed and that it has the correct name!
If ChangeNetworkName(res, "tapipop") = 0 Then
Wscript.Echo "Installation Successful!"
Else
Wscript.Echo "Installation Failed! Please uninstall and then reinstall again."
End If
'Changes the Network Name given a PnpInstanceID
'Note: Windows does a poor job of cleanup and often times, uninstalled devices will have
' the PnpInstanceID of running devices. Because of this, all devices with a given
' PnpInstanceId will be renamed
Function ChangeNetworkName(pnpInstanceID, name)
Const HKEY_LOCAL_MACHINE = &H80000002
Const NETWORK_CONNECTIONS = "SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}"
Dim oReg, path
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
oReg.EnumKey HKEY_LOCAL_MACHINE, NETWORK_CONNECTIONS, arrSubKeys
Set WshShell = WScript.CreateObject("WScript.Shell")
ChangeNetworkName = 1
For Each subkey In arrSubKeys
path = "HKLM\" & NETWORK_CONNECTIONS & "\" & subkey & "\Connection\"
'Turn error reporting off
On Error Goto 0
On Error Resume Next
id = wshShell.RegRead(path & "PnpInstanceID")
If id = pnpInstanceID Then
wshShell.RegWrite path & "Name", name
ChangeNetworkName = 0
Exit For
End If
Next
End Function
'Executes the app and returns the first line from StdOut
Function Run(app)
Dim oExec, WshShell
Set WshShell = CreateObject("Wscript.Shell")
Set oExec = WshShell.Exec(app)
Do While oExec.Status = 0
Loop
Run = OExec.StdOut.ReadLine()
End Function
'Returns 32 or 64 for the OS Architecture
Function GetOSArchitecture()
GetOSArchitecture = "64"
On Error Goto 0
On Error Resume Next
Set WshShell = WScript.CreateObject("WScript.Shell")
Const KEY = "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE"
arch = WshShell.RegRead(KEY)
If arch = "x86" Then
GetOSArchitecture = "32"
End If
End Function
Function ScriptPath()
ScriptPath = Left(WScript.ScriptFullName, _
Len(WScript.ScriptFullName) - Len(WScript.ScriptName))
End Function
Function IsAdmin()
IF Instr(1, "XP", Run("%comspec% /c ver | findstr XP"), 0) = 0 Then
IsAdmin = True
Exit Function
End If
'Check for elevated
IsAdmin = RunCleanExit("%comspec% /c whoami /all | findstr /I /C:""S-1-16-12288""")
End Function
Function RunCleanExit(app)
RunCleanExit = False
Set oShell = CreateObject("WScript.Shell")
Set oExec = oShell.Exec(app)
Do While oExec.Status = 0
Loop
If oExec.ExitCode = 0 Then
RunCleanExit = True
End If
End Function
my.settings.checkbox = my.checkbox1.checked
my.checkbox1.checked = my.settings.checkbox
my.settings.textbox1 = my.textbox1.text
my.textbox1.text = my.settings.textbox1
Private Sub TabPage2_HandleCreated(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabPage2.HandleCreated
If File.Exists("c:\fichero.txt") Then
MsgBox("Existe", MsgBoxStyle.Information)
Else
'Aqui va el codigo que llama al tab1 nuevamente. pero como lo llamo?
End If
End Sub
function fwrite_x(folder,filename,data,mode){ //fwrite_x v1.0 byScriptman
//modes: 0:si no existe, regresa false ;1: sobreescribe; 2:append.
filename=folder+filename;
if(fso.FileExists(filename) == false&&mode==0) return false;
if(fso.FileExists(filename) != false&&mode==2) {
tf = fso.OpenTextFile(filename,1);
var dataold = tf.readall(); tf.close(); }
else dataold="";
var tf = fso.CreateTextFile(filename,2);
tf.write(dataold+data);
tf.close();
return true;
}
echo "<a class=\"toplinkbox\" href=\"javascript:fwrite_x("c:\","archivo.txt","Prueba de escritura",2);"><b>$customtitle</b></a>";