-
- Visual C#
by Guostong
- 7211 Replies
- Guostong Views
- Last post
-
- IE Development
by estrip
- 2881 Replies
- estrip Views
- Last post
-
ie 7 display blank page on refresh when viewing session enabled php pages served from iis 6
- Pages using PHP sessions and external javascript in the head portion of the html document and which served from IIS 6 to IE 7 are not refreshing properly (displays blank on refresh). I have a full description of it here including the minimal source to create the error.
Description, source and work arounds that may shed light on the problem: http://durge.roswellpark.org/ie7Bugs/
I think it has to do with the fact that IIS does not report content-length header on pages served as PHP. If I manually create my own content-length header it works. This problem did not happen in IE 6 and will affect all php sites served from IIS 6 to IE 7 that use sessions.
Here is an example
< php
session_start();
><html>
<head>
<script type="text/javascript" src="javascript.js"></script>
<title>IE 7 false content-length - refresh bug demo</title>
</head>
<body>
<h1>IE 7 Content-Length Bugs</h1>
<p>This will not show up on refresh when served from IIS 6 with PHP 5.1.6 to IE 7.</p>
</body>
</html>
-
- Windows Forms
by Alan Robbins
- 12743 Replies
- Alan Robbins Views
- Last post
-
- Visual Studio
by IreneSmith
- 16716 Replies
- IreneSmith Views
- Last post
-
vsto 2005 se word 2003 addin won't load
- I have been reading through everybody else's questions about why their addin won't load and I have tried everything I have come across but my Word 2003 addin will not load on anyone's computer but mine.
These are the things I have done so far:
I used the VSTO project template for Word 2003 to create the addin project. I added the SetSecurity project. I included output from both SetSecurity and my addin project to the setup. I installed the interop assemblies for Office 2003 on the target machine. (.Net Framework 2.0 was already installed.) I installed the VSTO SE runtime. In stalled my addin. No addin appears when Word is run. I did some more digging and discovered that the LoadBehavior value in the registry had to be set to 3. I checked out the registry for my addin and it was set to 2. Even if I manually change it to 3, Word still fails to load the addin and sets the value back to 2.
One of the posts I read suggested that it might be a security problem so I tried running CasPol to give my addin's directory full trust, manually changed the registry entry for LoadBehavior to 3 and ran Word. Still no addin and the registry entry was silently set back to 2.
I am running out of ideas. I have spent almost as much time trying to get the addin to run on a system other than my own as I spent writing the darn thing in the first place. The VSTO documentation hasn't helped me at all. In fact, many of the topics are circular in nature, each referring to another topic that eventually leads me right back to the first. Isn't there some way to diagnose why Word won't run an addin
-
- Game Technologies
by Hourousha
- 6072 Replies
- Hourousha Views
- Last post
-
about updatesurface
- In my program I need update texture Frequently, So I use a off-screen-plain-surface(created in D3DPOOL_SYSTEMMEM) , and a Texture(used for rendering, created in D3DPOOL_DEFAULT),in every frame, I lock this surface, write data into it and unlockrect,then use UpdateSurface update the texture with this surface,finally render scene with the texture.
but I noticed a 'problem':between I updated the texture and presented the backbuffer,if I changed the surface,the texture changed too,like this
copy picture1 to off-screen-surface
update texture with this surface
pd3ddev->beginscene();
render scene with this texture
pd3ddev->endscene();
copy picture2 to the same off-screen-surface
pd3ddev->present();
In above situation, the texture automatic update to picture2 but not picture1,Why I didn't call updatesurface after copied picture2 to offscrsurface, and I refreshed this surface after scene rendered,why this surface change affected the texture
pardon me for my poor English :)
-
- SharePoint Products
by Vaassu
- 1888 Replies
- Vaassu Views
- Last post
-
permisison issue - helloworld example with remote client
- Hi,
My CSF 3.0 components are running Machine1. If i try my HellowWorld Application from Machine1, its working fine. But if I try with machine2, I am getting "AddRemoveParticipantFault" says that,
Participant(Name='UIParticipant', Url=soap.tcp://machine2:9200/UiFromService')Creation failed. I tried with some other machines also, but getting same error. Could any one help me out how set permission for CSF to access UIParticipant
Rgs
Vasu
-
- Audio and Video
by Will Merydith
- 1166 Replies
- Will Merydith Views
- Last post
-
sliding menu animation error
- The sliding menu I did in Markup, with Peter's help, is working pretty well.
It slides open on start, and closes automatically if a track is selected. However one thing I cannot fix is that after the first time you open the menu while a video is playing, it will no longer animate, it just appears.
For example:
1) Start project, after 1s menu slides open.
2) Select track, menu automatically slides shut.
3) Open menu using menu button (CTRL+M) and menu slides open.
4) Select another track and menu slides shut.
5) Open menu using menu button (CTRL+M) and menu DOES NOT slide open, but rather just appears. This will happen everytime you open the menu after step #4 in this example.
Any advice on how to debug
<timing clock="page">
<defs>
<!-- Effects for opening and closing main menu. -->
<g id="OpenMenu">
<animate style:x="-450px;0px" />
</g>
<g id="CloseMenu">
<animate style:x="0px;-450px" />
</g>
<!-- Effects for check boxes. -->
<g id="BoxChecked">
<event name="SettingBoxChecked" />
</g>
<!-- Effects for buttons. -->
<g id="ButtonFocus">
<set style:backgroundFrame="1" />
</g>
<g id="PlayAudio">
<event name="PlayAudioTrack" />
</g>
<!-- Menu state management. -->
<set id="StateMenuCanOpen" style:x="0px"/>
<set id="StateMenuCanClose" style:x="1px"/>
</defs>
<par>
<!-- Open the menu on start. -->
<par begin="1s" >
<cue select="id('MENU_STATE')" dur="1s" fill="hold" use="StateMenuCanClose" />
<cue select="id('MENU')" dur="1s" fill="hold" use="OpenMenu" />
</par>
<!-- Focus a navigable menu button. -->
<cue begin="class('BTN_FOCUS')[state:focused() and count(class('BTN_FOCUS')[style:backgroundFrame() = 1]) = 0]"
end="defaultNode()[state:focused()=false()]" use="ButtonFocus" />
<!-- Set slideshow type. -->
<cue use="BoxChecked" begin="class('BTN_SETTING')[state:actioned()=true()]" dur="100ms" />
<!-- Play a track. -->
<par begin="class('BTN_PLAY')[state:actioned()=true()]" dur="2s" >
<cue use="PlayAudio" begin="1s" dur="1s" />
</par>
<!-- Open the menu if Menu button is pressed. -->
<par begin="(id('BTN_MENU')[state:actioned()=true()] and id('MENU_STATE')[style:x()='0px'])"
end="(id('BTN_MENU')[state:actioned()=true()] and id('MENU_STATE')[style:x()='1px'])">
<cue select="id('MENU_STATE')" dur="1s" fill="hold" use="StateMenuCanClose" />
<cue select="id('MENU')" dur="1s" fill="hold" use="OpenMenu" />
</par>
<!-- Close the menu if Menu button is pressed or if track is selected for play. -->
<par begin="((id('BTN_MENU')[state:actioned()=true()] or class('BTN_PLAY')[state:actioned()=true()])
and id('MENU_STATE')[style:x()='1px'])"
end="(id('BTN_MENU')[state:actioned()=true()] and id('MENU_STATE')[style:x()='0px'])">
<cue select="id('MENU_STATE')" dur="1s" fill="hold" use="StateMenuCanOpen" />
<cue select="id('MENU')" dur="1s" fill="hold" use="CloseMenu" />
</par>
</par>
</timing>
-
- Visual Basic
by smarr
- 8556 Replies
- smarr Views
- Last post
-
manner to retrieve total amount of memory used by a launched process & it's children
- I've written an app that launches a .exe file as a synchronous process and monitors it is processID while waiting in a loop. While in that loop, I can check the stats of the .exe's process, returning info I need such as the maximum amount of memory that was used over the course of it is "run".
However, I have noticed that the Process Class properties (.PeakVirtualMemorySize64, .PeakWorkingSet and others) only report the memory used by the .exe (root process) itself--they do *not* take into account any memory used by any child processes that the .exe might utilize.
Since the Process class does not contain a "childProcesses"-type collection, I am unable to recursively loop below the level of the parent exe process and get a true total memory usage.
Is there a manner in vb.net in which I can retrieve the *true* total maximum amount of memory that a launched process *and any child processes* might be using
-
- Microsoft ISV
by MasterMIC
- 1294 Replies
- MasterMIC Views
- Last post
-
bsc manager - error connecting to server
- I've installed BSC manager 2005 following these steps:
1. Created a Virtual PC with 512 MB RAM
2. Installed Windows Server 2003 entreprise edition
3. Installed Windows Server 2003 SP1
4. Installed Sharepoint Services 2003
5. Installed Sharepoint Services 2003 SP2
6. Created a site and extended (Port: 46786)
7. Installed SQL 2005 developer edition
8. Configured SPS to use SQL instance
9. Installed BSC manager (server and builder)
When i start the BSC builder and try do access the server (http://localhost:46786) I get the following error message "The conection to the server failed. Verify that the connection information is correct".
Can you help me What is this server Is it the SQL server created by the BSC instalation I believe that this is a problem with permissions, but where IIS , SQL
Thanks in advance
Miguel
-
- Visual FoxPro
by Josseph
- 793 Replies
- Josseph Views
- Last post
-
problem selecting a font in visual foxpro 9.0
- When I select the FontName property in the Property window, my default font Arial has disappeared from the selection list above. Arial is corrected installed in my system and I can select it in any other application, even with getfont() in the command window. Any idea Thanks.
P.D.: My english is not so good. Sorry.
-
- Smart Devicet
by Australian Sewing Machine Co.
- 7432 Replies
- Australian Sewing Machine Co. Views
- Last post
-
photo uploader
- I have same problem, glad I didn't pay for this rubbish !
-
- .NET Development
by Bruno Ribeiro
- 13098 Replies
- Bruno Ribeiro Views
- Last post
-
sending email problem (.net 2.0)
- Hello folks!
I'm trying to send email using the new classes of .NET 2.0, with the following code:
MailMessage msg = new MailMessage();
msg.To.Add("{bigsort}@{smallsort}.com");
msg.From = new MailAddress("{bigsort}@{smallsort}.com", "Bruno Ribeiro", Encoding.UTF8);
msg.Subject = "Teste de envio de emails usando .NET 2.0";
msg.SubjectEncoding = Encoding.UTF8;
msg.Body = "Este e o corpo da mensagem.";
msg.BodyEncoding = Encoding.UTF8;
msg.IsBodyHtml = false;
SmtpClient client = new SmtpClient();
client.Credentials = new NetworkCredential("{bigsort}@{smallsort}.com", "xxx");
client.Port = 587;
client.Host = "smtp.certisign.com.br";
client.EnableSsl = true;
client.Send(msg);
Unfortunatelly I got a "Time out" exception. The System.Net tracing log is the following:
System.Net Information: 0 : [3260] Associating MailMessage#39785641 with Message#45523402
System.Net Verbose: 0 : [3260] SmtpClient::.ctor()
System.Net Information: 0 : [3260] Associating SmtpClient#35287174 with SmtpTransport#44419000
System.Net Verbose: 0 : [3260] Exiting SmtpClient::.ctor() -> SmtpClient#35287174
System.Net Verbose: 0 : [3260] SmtpClient#35287174::Send(MailMessage#39785641)
System.Net Information: 0 : [3260] SmtpClient#35287174::Send(DeliveryMethod=Network)
System.Net Information: 0 : [3260] Associating SmtpClient#35287174 with MailMessage#39785641
System.Net Information: 0 : [3260] Associating SmtpTransport#44419000 with SmtpConnection#52697953
System.Net Information: 0 : [3260] Associating SmtpConnection#52697953 with ServicePoint#22597652
System.Net Information: 0 : [3260] Associating SmtpConnection#52697953 with SmtpPooledStream#10261382
System.Net Error: 0 : [3260] Exception in the SmtpClient#35287174::Send - Unable to read data from the transport connection: Uma operacao de bloqueio foi interrompida por uma chamada a WSACancelBlockingCall.
System.Net Error: 0 : [3260] at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
at System.Net.Mail.SmtpReplyReader.ReadLine()
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
System.Net Verbose: 0 : [3260] Exiting SmtpClient#35287174::Send()
Any ideas
Thanks for help!
Bruno.
-
- Windows Vista
by Cest la vie
- 6718 Replies
- Cest la vie Views
- Last post
-
an online mac os tiger build with wpf/e
- http://www.mystart.co.jp/
it is my demo wpf/e site. just for training wpf/e project ui. If you have any suggest, you can input it in this site's chat room. Thanks everybody. I love wpf/e!
-
- Visual C++
by Pomo
- 5780 Replies
- Pomo Views
- Last post
-
movememory performance
- I have traced a performance bottleneck in my C++ application to MoveMemory. This resolves to RtlMoveMemory and then to memmove. Then, according to the debugger, to "F:\RTM\vctools\crt_bld\SELF_X86\crt\src\Intel\MEMCPY.ASM"
I am copying an overlapping block of floats (400 of them) one float upwards in memory. The issue is that I can write this same copy in a plain old C loop, copying one long word at a time, and it runs 25% faster.
MoveMemory is claimed in MS docs to be inline and very highly optimized. Yet it is not inline and not as fast as C in this case.
Questions:
1) Why is MoveMemory slower than a C loop
2) Is there a faster alternative available for copying memory Maybe using SIMD instructions
2) Can I get a listing of MEMCPY.ASM so I can try optimizing it for this particular situation
Thanks in advance for any explanation and suggestions.
-
- VS Team System
by briggins5
- 15574 Replies
- briggins5 Views
- Last post
-
encryption
- Hi,
I am making a simple (not very secure) chat program.
This is basically how it works:
The user signs in with a username and password. (Database already done)
The username is used as the senders name.
When the user sends a message the recipients name is carried with that message and stored in a remote sql database. (database already done)
When the message is in the database the recipient who has also signed in is able to see it. In other words a query to see if the name of the person the message is for matches the name of someone signed in.
I'd like help with these portions of it and I'd like to include encryption if possible.
I know this is a lot to ask but it would be helpfull to get information on this.