Software Development Network Logo
  • Audio and Video
  • VS Team System
  • SQL Server
  • Visual C#
  • IE Development
  • Visual Studio
  • Game Technologies
  • Visual FoxPro
  • Windows Forms
  • Visual Basic
  • Windows Vista
  • Smart Devicet
  • Microsoft ISV
  • Visual C++
  • SharePoint Products

Software Development Network >> gregmackers's Q&A profile

gregmackers

Member List

Jamie Gordon
F. Gsell
stombiztalker
James_Steven
drdexter33
AndyJ_PS
riant78
nalini
KurtD
aus82
HelpMePl0x
quame
Tedross
GeniusManiac
maqk
Saania
Van Dieu Thai
Asklepios
mbradzick
markand
Only Title

gregmackers's Q&A profile

  • .NET Development Timeout expired.

    I'm getting this error intermittently when execting a sql command. I tried increasing the timeout property of the command object, but sometimes I still get the error. Other appplications may be acessing the same tables. Is there a way to prevent the error System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. looks ok. Try removing the connection timeout property in the connectionstring. What happens now also where is the server located Just a minor refactor of code.... SqlConnection Connection = new SqlConnection ( "user id=user;" + "password=password;" + "server=serve ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Suggestion for stock Vertex structs

    I notice that the framework provides a few stock vertex structures like VertexPositionColor etc. This is cool but it would be great if these could inherit from an interface which provides a mechanism to get the SizeInBytes and Element information abstractly. These structs currently provide this information as static properties but this is no good if you are are trying to write a generic function that can deal with a number of different types of vertex structures seamlessly. My suggestion is that in future something like an IVertexInfo is provided that lets you deal with these concrete vertex structures abstractly.  Perhaps something like this. interface IVertexInfo {     VertexElement [] Elemen ...Show All

  • SQL Server Report Manager not responding

    Hi, I'm hoping to get some help here. I've spend countless hours trying to get Reporting Services running without success. When I run the Report Manager it does not respond. Coming up with Opening page http://localhost/reports/Pages/Folder.aspx . . . The progress bar ticks along but the page never actually loads. The Configuration tool shows green icons everywhere. No errors in the Event viewer. I am running Windows XP Professional with SP2. I have uninstalled and re-installed IIS, ASP.NET and SQL2005 numerous times. Varying the order, all without success. What else is involved I have loaded Service Pack 1 and the latest hotfixes. What else can I try Thanks in advance, Claude It looks lik ...Show All

  • .NET Development configSource - share connection strings file across web-services ?

    We wish to have a single (external) config file that stores database connection strings, shared across a number of web-services that all connect to the same database. This would allow a connection string to be changed in a single file that then applies to all relevant web-services. Possibilities include the .NET configSource, or EntLib 2.0's "File Configuration Source" (I'm using Data Access block). But I believe that .NET 2.0 only allows configSource to be in a relative sub-directory, and can't access relative parent directories, so this wouldn't work for sharing a config file across web-services At least that's what this post suggests: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=146960&SiteID=1 Does .NET ...Show All

  • Software Development for Windows Vista Page Limit?

    Does anyone know whether there is a page limit in an XPS document I have created a 10,000 page XPS document printed with the Microsoft XPS Document Writer from Crystal Reports XI. I can open this document in the XPS viewer with no problems. However, when I create a 100,000 page document using the same package, the XPS document does not open in the XPS viewer and the memory use on my computer jumps and keeps on rising. I am working on Windows XP. Any ideas, anyone did you also see that massive memory usage when printing your 10,000 page XPS file I have tried to print 5,000-10,000 Visuals via the Visuals-batchwriter and I've got ~2gig of swapfile size and ~1gig for the process... and it got slower a ...Show All

  • Internet Explorer Development IE7 Invalid URL error

    I am currently getting an "Invalid URL" message in IE7. The URL in question is: SWERowId=1-QYTXL&SWETime=&SWEMethod=Save&SWEReqRowId=1&SWEApplet=AMP+Outstandings+Reply+For+PAR+Applet&SWEView=AMP+CSA+Outstanding+Reply+View+(SCW)&SWEApcnt=4&SWECmd=InvokeMethod&SWECount=4&SWERowIds=") I did not get this error in IE6 so it seems as if IE7 does further checking on invalid characters within the URL. Are there any settings in IE7 that can prevent this check from happening Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Article on GamesIndustry.biz

    Clicky ...Show All

  • Visual Studio Locking the solution explorer for update?

    Hi. I need to perform a lot of file manipulation (code generation) in an add-in. I think the solution explorer's treeview refreshing is causing me some problems. On some odds occurances, a stressed file (write operations) will become locked by another process. This doesn't seem to be a problem with the other files since they aren't as stressed as this one. Is there a way to call a BeginUpdate() on the solution explorer You will need to get to the IVsLiteTree interface of the solution explorer window. Once you have that, you can call the SetRedraw or DelayRedraw methods to control when the tree will redraw its self. Craig ...Show All

  • Visual C# IDataReader???

    Can someone give me explanation on how this works or a link that explains this Is it the Same as a SqlDataReader but it can be implemented for all types of Data like Oracle an Access or what...a lil cloudy on how i should use the IDataReader As stated this is only an illustration on interface usage. The SQL command in the data layer is not fully configured. commandtype and parameters etc. Martin. ...Show All

  • Visual Basic How to sort a list from A to Z

    Is there a way i can sort a list from a to z. Its this kind of list. System.Collections.Generic.List(Of T) I use the .Sort. Something like this Dim MyListing As New List( Of String ) '...work with list here... MyListing.Sort() ...Show All

  • Visual Basic Find what server a DFS link points to.

    I am writing a script to find out where a user is logged in. the script first looks at the users profile path and then passes that to code which queries LanManServer that the users profile is on for the sessions and looks for the users session on there. But this does not work with the DFS path i need to be able to convert the DFS path to the Server and share that it is on. Please help. Hi, Thanks for the reply but it appears you cannot use NetDfsGetInfo in a VBS script file If you can i do not know of any ways to call the api from the Netapi32.dll file thanks for your suggestions. ...Show All

  • Visual Studio Crystal Report: How to change papersource in printoption

    Hi, i have created an application that will export the data to pdf from database and print the report i have given an option to change printer paper source but the papersource option is accepting only "auto" but not any other options i m using VS2005 and crystal reports XI release 2 when i select any other options [see bellow code] its throwin an error objReport.PrintOptions.PaperSource = CrystalDecisions.[Shared].PaperSource.Manual ERROR:: Run-time exception thrown : System.Runtime.InteropServices.COMException - Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Any suggestions Had the same problem. I found out that moving the line setting the paper orientation to BE ...Show All

  • Visual C++ Linker error porting an NT service from VC 6.0 to VC 8.0 - using a makefile

    I am trying to port a service from VC 6.0 to VC 8.0. My VC 6.0 service was compiled from the commandline using a makefile. I created a Makefile project in VC 8.0. I did NOT create a Windows Service project in VC 8.0 because I am not using CLR. After resolving various compiler and linker issues, the last remaining issue is: error LNK2019: unresolved external symbol "int __stdcall AfxSocketInit(struct WSAData *)" ( AfxSocketInit@@YGHPAUWSAData@@@Z ) referenced in function "int __cdecl setup_server(void)" ( setup_server@@YAHXZ ) The list of libraries I'm linking includes: libcpmt.lib $(conlibsmt) $(olelibs) $(winsocklibs) version.lib user32.lib advapi32.lib mfc80.lib atl.lib atls.lib What library ...Show All

  • .NET Development to speed up database access from SQL SERVER 2005 using C#

    we have an application where while opening the application in the form load event i am creating the tabs and all the controls dynamically based on the values stored in the sql database , can anybody help me out on to speed up the data access from sql server, right now my application takes time to start up atleast 15 secs ... ahmedilyas wrote: Stored Procs are faster and safer than standard SQL "injections"/command text. This is not true. plaint SQL statement is also sent to the server and run by a system stored procedure called sp_executesql. Usually, it's the query itself which determines the performance. ...Show All

  • Visual Studio Cannot debug MFC source after upgrading to VS 2005 SP1 using symbol server

    I have VS 2005 and SP 1 installed and have enabled the symbol server in "Tools -> Options -> Debugging -> Symbols". It is no longer possible to step into MFC source code when debugging an MFC application. This used to work with VS 2005 without SP1. The only workaround to my knowledge is to disable the symbol server. Then the .pdb from the symbol server will not be used. If I understand this correctly. the .pdb from the symbol server (http://msdl.microsoft.com/download/symbols) now has source information stripped and so will prevent stepping into MFC source with the debugger. Thank you! Yes, that works like a charm. I had to delete all files from the symbol cache first. ...Show All

©2008 Software Development Network