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

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

skt

Member List

JohnWiel
Mohan1
Taegello
software tester
PrasadC
lord_o_jesus
robinjam
Comanche
Scott_P
Andy P.
Secsi
RajLakamana
Hassan Ayoub
trev73
SWGuy
Chris.Stewart
Al.x
John_Mac
HSBF Lewe
sunny123
Only Title

skt's Q&A profile

  • SQL Server How to create a SQL ev DB?

    Good day All I'm new to databases with C# There are lots of good examples that use an already existing SQLev db and vs2005, but I'm trying to use VS2005 standard to create the SQLev DB (table, etc), when I try to add a new item, is see only the .mdf selection. (I don't have Full SQL Server or SQL Express on my machine, if that means anything) Can you please tell me how or point me to an tutorial Thanks Mike Greenway I overlooked it! I didn't see the Books Online Download with most of the answers. Sorry for wasting your time. For others like me Microsoft Download Center . ...Show All

  • Visual C++ Link errors, Help!!!

    1>NVStorageInterface.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _main 1>NVStorageInterface.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _main 1>NVStorageInterface.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _main 1>Release_Win32/NVStorageInterface.exe : fatal error LNK1120: 3 unresolved externals I use the following functions in code, then I got the above errors RegOpenKeyEx() RegQueryValueEx() Thank you in advance!! According to http://msdn2.microsoft.com/en-us/library/ms724897.aspx , you need to link with Advapi32.lib. If tha ...Show All

  • .NET Development Where to download interop.mapi.dll?

    I need to create a email project and need interop.mapi.dll Where to download it it should come with the outlook application. you are aware you can programmatically send emails using the System.Net.MailMessage classes as well as launching a process of outlook with fields populated (but non attachments as its blocked by Windows but can have a workaround using the Outlook COM Interop approach) ...Show All

  • SQL Server Huge amount of memory (SQL25K.MS)

    I’m seeing that Management Studio is cosuming a huge amount of memory either development server or mine’s workstation. I mean, even when it’s on inactivity way. Wonder I, this behaviour is assumed as normal or not Thanks for that or provide me any link or information related. Also, clearly separate memory usage by SQL Server Engine (which is the subject of this forum) and Management Studio (which is a tool). There is also a dedicated forum for tools where questions like this may be answered faster: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=84&SiteID=1 Also note that SQL Server memory usage is not necessarily correctly displayed by Task Manager when AWE or locked pages on 64-bit are u ...Show All

  • .NET Development Help using Ftp.GetFileSize for Unix Servers

    Hi, I have tried to use the Ftp.GetFileSize  with an Unix server without success, it always returns 550 File unavailable, I have tried manually to get the SIZE from a telnet 21 port connection to that Unix server and it works ok. However it runs perfectly with Windows Servers, is this function has a limitations with Microsoft servers or what  This is the code I use: Dim request As FtpWebRequest = WebRequest.Create(xUriPathPlusFile) request.Credentials = New NetworkCredential(xUsername, xPassword) request.Method = WebRequestMethods.Ftp.GetFileSize Dim response As FtpWebResponse = request.GetResponse Dim xSize As Integer = response.ContentLength MsgBox( "Size : " + xSize.ToString) somebody has been through th ...Show All

  • SQL Server CLR User-defined aggregate support Java/J#?

    I want to write a Java User-defined aggregate (UDA). Shall I use J# I converted the C# example given in books online to J#. I am getting this error (as well as whole bunch of warning when I create the assembly.) Msg 6558, Level 16, State 1, Line 1 CREATE AGGREGATE failed because type 'Concatenate' does not conform to UDAGG specification due to method 'Init'. Msg 6597, Level 16, State 2, Line 1 CREATE AGGREGATE failed. btw, I have the use unsafe assembly options when creating the assembly otherwise I get this error: Msg 6265, Level 16, State 1, Line 1 CREATE ASSEMBLY failed because type "com.ms.vjsharp.cor.COMUtils" in safe assembly "vjscor" has a pinvokeimpl method. P/Invoke is not allowed in s ...Show All

  • Windows Forms How to move a splitter manually (Optimization/Different approach)

    Hi, I have a program that does what I want but I want to ask you if there's an easier way of doing this: Description of the program: I have a form with some splitters that panels: -------------------- | | | | | | | p1 | p2 | | | | | | | -------------------- and splitter1 is separating the two panels. Then I have inside each panel, another two panels -------------------- | p4 | p3 | | | | |-------- | -------- | | p5 | p6 | | | | -------------------- and two more splitters (splitter2 on the left and splitter3 on the right) separating the panels. When I move the splitter3 the splitter2 has to follow it but I wanted ...Show All

  • Visual C# Why is fixing runtime bugs expensive?

    I am a novice C# programmer. In the title “Learning C#,” the author states that it is much more expensive to fix a bug at runtime than at design time or compile time. I am wondering if it would indeed be as expensive as he says if the application goes through an SQA cycle before it is deployed. Whether you catch it at design or compile time, or rather at runtime, why would there be more or less cost involved Please shed some light on this. My point is that it is better to spend the time to be productive and innovative than fixing flaws from earlier. I see it from the view of the software maker, it is not a bad thing to create good software. I want to buy new versions of software because they offer mor ...Show All

  • Windows Forms UserControl TestContainer -- Startup Control determined by ?

    I have a control library with two controls, X and Y. X is Ok now, so I want to work on Y. Y uses X and I want to see how well it's doing. But the TestContainer brings up control X. How can I convince it to start up with control Y Should be simple, but can't find it. It picks the first control listed in the .csproj file. You can edit the file with notepad, just move the ItemGroup nodes for control Y up. ...Show All

  • .NET Development Reading A Single Line Of An XML Document

    Hi, I am using VB 2005 to create a hangman game and have saved a word document containing a list of words as an XML Document. Would someone be able to help me with loading a single line of the XML file into a String in VB 2005, I have tried using Readers etc but haven't got very far. Or better still... is there an easier way to load a single line of text from a file (e.g. a text file) without loading the whole text up to that line into an Array, as I have a file with 100,000+ words, which would take ages to load into an array. Thanks in advance for your help. The best approach is to load the XML file into an XmlDocument. Once you do that, one can use XPath queries to extract the target node in Xml ...Show All

  • Visual Studio Team System How to track completed workitem

    When a task is completed, and the workitem will be fallen out from the task list (in excel, project). How can I retain the workitem at the task list Instead of take out from the list, can I see the workitem as 100% completed Thanks. I just write my query 'Team Project = @project or State = closed or state = active'. Another question here, can we track by the percentage of completion Though the item shown as 'closed' at microsoft project, but when you drill in, the percentage of completion is still 100%. ...Show All

  • Internet Explorer Development IE7 - Cancel New Tab or New Window

    Hello, I'm attempting to cancel the opening of a new IE7 tab when a user right-clicks a link and chooses "Open in New Tab" or "Open in New Window". The following code from our BHO's Invoke method did the trick for IE6, but it doesn't for IE7. Should this still work for IE7, or should it be done differently for IE7 Thanks, Roy case DISPID_NEWWINDOW3: // This is a new (post-XPSP2) version of IE, which generates the NEWWINDOW3 event. { if (!ContinueNavigating(pDispParams->rgvarg[0].bstrVal, this)) { // Suppress the navigation. *(pDispParams->rgvarg[3].pboolVal) = VARIANT_TRUE; } } break; I am afraid that you are accessing the parameters with wrong indices. From http://m ...Show All

  • Windows Forms Moving a borderless form that contains child controls

    Hi all.. I have followed the directions outlined in http://msdn2.microsoft.com/en-us/netframework/aa497373.aspx#7qgifyua (search page for How do I support moving a borderless form ) private const int WM_NCLBUTTONDOWN = 0xA1; private const int HTCAPTION = 0x2; [ DllImport( "user32.dll" ) ] public static extern bool ReleaseCapture(); [ DllImport( "user32.dll" ) ] public static extern int SendMessage( IntPtr hWnd, int Msg, int wParam, int lParam ); private void Form1_MouseDown( object sender, MouseEventArgs e ) { if ( e.Button == MouseButtons.Left ) { ReleaseCapture(); SendMessage( Handle, WM_NCLBUTTONDOWN, HTCAPTION, 0 ); } } to move a borderless form, but what I am seeing is ...Show All

  • .NET Development Sample Code

    Here is some of the code I have now. I am unable to get the exact error right now because I can't debug on the machine I am on currently. Any Ideas based on the code below connection = new OleDbConnection( " Provider=SQLOLEDB;Data Source=10.10.200.121;Initial Catalog=SALES;UID=user;PWD=pw" ); try { connection->Open(); command = new OleDbCommand(query, connection); reader = command->ExecuteReader(); reader->Read(); if (reader->HasRows) { this ->recurrence = (DK_SCHEDULE_RECURRENCE )reader->GetInt32(0); this ->last_run_date = reader->GetDateTime(1); this ->next_run_date = reader->GetDateTime(2); this ->ftp_server = reader->Get ...Show All

  • Software Development for Windows Vista StreamingWrite12 Problem in Vista

    Has anyone ever try burning data by using WRITE12 command under Vista If enabling UseStreamingWrite12 under Vista ( Ver. 5483 in my case ) and burning data, the CPU would abnormally goes quite high ( 60% ~ 80%). Using TaskInfo to check CPU usage, it shows that "Interrupt time placeholder" consumes over 50%~60% CPU. If using WRITE10 command, the CPU usage would normally below 10%. Any suggestion to handle this CPU usage issue Dear Henry, Thanks for your reply. I have tried uninstalling the network card driver, but the issue still existed. From the documentation of IMAPIv2, there is a function called IDiscRecorder2Ex :: raw_SendCommandSendDataToDevice(). In fact, I ...Show All

©2008 Software Development Network