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

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

Piyarit

Member List

JeevesIndia
n00bie
yromanen
mcrisf
Rene Alexander
Rhubarb
JCJCJC
charret
Shmelly
Yodatg
PublicError
tfield98x
Richard from Kent
csi_hugh
DannoCoy
Kayda_SQL
Antistar
Donaghy
iscbaltazar
mamadero
Only Title

Piyarit's Q&A profile

  • SharePoint Products and Technologies WSS 3.0 Disaster... Config database lost..

    Hi, today morning when I arrived work and try to access my sharepoint portal, I get the error "cannot connect to configuration database" .. for my surprise, I chek SQL server, and the "Sharepoint_Config" database is missing. I have no backups, and the only thing I have left is the content database "wss_content_SOMETHING" ... And I also have the "Inetpub" localfolder.. So my question is if is there anyway to recover my site with this data I have left.. Maybe creating a new configuration or new site and adding WSS_Content.. The thing is I created a new site, and this builds a new Sharepoint_config database, but I still get the same error when trying to connect. I also checked the permissons in the SQL ...Show All

  • Visual Studio Express Editions MSDN webcast. C# game programming

    I'm new to all this so I need someone to go ahead and tell me what's what. I am wondering about the Webcast section on game programming at: http://www.microsoft.com/events/series/msdnvideodev.mspx Is this stuff free, or do I have to have a subscription to something I can't figure it out. Whenever I go to download one of the webcasts in the 3d programming section, I can't download any video but the part 1 of 11. Yeah scott, kidwidahair was right, i'm just an idiot and was confused by the names of the files. They all download as downloadMM.wmv, and that's it, so I thought I was down ...Show All

  • Visual Studio Team System SharePoint Services Upgrade KB924881

    Microsoft has an update for Windows Sharepoint services ( KB924881 ). This fix addresses issues regarding 2007 Daylight Savings Time . Can someone tell me if I can apply this fix to my Team Foundation Server without it affecting TFS in any way. Thanks in advance, Dave Hi Dave, It might affect TFS (I haven't tried the patch so I don't know for sure). WSS patches have a habit of changing the port for the SharePoint Central Administration site. This means that you may not be able to create new projects after applying the patch (the Project Creation Wizard uses the central admin site and the url including the port number is stored in a TFS database table). This is pretty easy to fix, though you do have to modify a row in ...Show All

  • Visual Studio Tools for Office Access raw binary document

    Hi! We're developing a COM Add-In for Word 2007 and need to access the raw binary document from within the plugin. We tried to read the document using a FileStream using the ActiveDocument.FullName Property. But access to the file is propably locked by the Word Application process. So my question now: is there any possibility to read the full binary document as we couldn't find any property within the Word Document Object Model to get access to it. Thanks for your help guys, Arne Hello Arne, have you tried with those parameters FileStream fs = new FileStream (fileName, FileMode .Open, FileAccess .Read, FileShare .Read); Hope this helps, greets, Helmut ...Show All

  • SQL Server Two report parameters: "Please select a value for the parameter...."

    I’ve build a report with Report Design. On this report I want to show the items customers bought. In this report I added a Report Parameter so the user can select a specific customer. I made an extra dataset and use the filter =@customer and this parameter works fine. Then I want to ad a second Report Parameter: the salesperson. When I leave one of the parameters blank, I get an error "Please select a value for the parameter....". Even if I choose the options allow blank or null values, I get this error. What I want is de possibility to get all the records, to filter records from one specific customer or to filter records from a specific salesperson. I tried but this doesn’t work. The SQL WHERE ...Show All

  • Internet Explorer Development not able to open link in new window

    <a href ='http://www.microsoft.com' target='somenewWindow'>open in new window</a> Im on an xp with IE 7 (actual release) . while the above link opens in a new window in ie 6 ,it wont in IE 7 . SO how DO you open a link in a new window . what minimal change needs to be done Keep Clicking, bhasker Try this: <script language=javascript> function openWindow() { window.open('http://www.microsoft.com', 'TheTitle','toolbar=0,titlebar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,left= 0,top= 0, channelmode=1,title=0'); } </script> <a href="#" onclick="openWindow();">Some Name</a> ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How To: Load Resources missing from help file

    Can anyone fill me in on the missing content from the help file I am trying to follow the How to: Draw a Sprite tutorial and the link to How to: Load Resources is broken. The article is also not in the index. Thanks for pointing out the broken link, we're working to catch any issues like this and feed back helps. The load resources how to was intended to merge with the simple game loop how to but wound up still being referenced. The how to went over the need to create graphics resources after the graphics device is created and additionally whenever the graphics device is reset if the resources are created in the Default graphics resource pool. For more information on resource pools you can take a l ...Show All

  • .NET Development Tcp Channel over load balancer

    I have a few questions about the TCP channel modifications in .Net 2.0 I want to use .Net remoting over a TCP channel through a F5/Big IP load balancer. I’ve gathered that all I need to do to achieve this (apart from using single call activation) is to add the following properties to my channel: socketCacheTimeout="0" socketCachePolicy="absoluteTimeout" Is this correct Should I add these properties to the channel on the Client side or the Server side (since these properties are TcpClientChannel properties, I’m guessing they belong on the client side) Can you point me to sample code that uses these properties I tried to verify if adding these properties does in fact ca ...Show All

  • Smart Device Development How can I deploy latest service pack along with my application cab file

    I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. Larry Pierce wrote: Solution to Problem: When you deploy a .Net application of a Pocket PC device, even a new one containing Mobile 5 you get the following message: " This application (Mytestapp.e ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trying to draw a pixel

    Hi guys. I'm working in a little experiment with colours. I created an array of colours, with 800x600 dimensions. I was able to paint the colors using spriteBatch and texture2D of 1 pixel, but the yield is terrible. There is noway to draw a Point or a Vector2D not using SpriteBatch or textures Primitive ways to draw in screen I see something in the example project inside XNA, RetroAsteroids, but It draw with VertexPositionColor, and it isn't what i'm searching thanks a lot (sorry for my english, i know) PD: I hope the solution won't be a Matrix of Proyection... =S I may be wrong but the only way to draw a single point is to use the pointlist, there is an example in the documentation. I did pr ...Show All

  • Visual Studio Express Editions buttons

    I've got a trouble with a program: I've placed a button on the userinterface. And I want that when you click on it, the button disapears for a moment. That's what I have: Sub button1_clik dim W as Long button1.visible = False Do until W = 100000000 W += 1 Loop button1.visible = True End Sub But that doesn't work. The button never dissapear Is there someone who can tell me how a button could disapear for a moment (Maybe there 's an own command ) What you says works momently exactly. But when I put the code in my program it didn't work anymore. I'll give you the code of my program. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Score += 1 Me.But ...Show All

  • Smart Device Development checking User name, password, domain in Windows CE, .NET compact 1.1

    Hello, I'm writing an application that stages some software on a terminal. This is being done on Windows CE 4.2 and .NET compact 1.1. As part of the process, I need to confirm that the User name, password, and domain (information may be found on the Network ID tab under Owner in the Control Panel) are all valid. I tried making an API call to LogonUser, but I got a NotSupportedException. Are there any other means of validating this information Thanks in advance. Look up this blog: http://blogs.msdn.com/cenet/archive/2006/07/27/windows-ce-on-the-domain.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout

    Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ OrpheusTheBard wrote: Could you pack your project So as not having to download file by file Seconded. I'd like to look at it, but I'd rather not download each file. ...Show All

  • Visual Basic Copy (clone) a generic list

    I want to clone a generic list that is a member of a class that implements icloneable: Public Class Employee Implements ICloneable Public FirstName As String Public LastName As String Public TelephoneList As List( Of Telephone) Public Sub New ( ByVal fn As String , ByVal ln As String ) Me .FirstName = fn Me .LastName = ln End Sub Public Function Clone() As Object Implements System.ICloneable.Clone 'Shallow copy Dim emp As Employee = DirectCast ( Me .MemberwiseClone, Employee) emp.TelephoneList = Me .TelephoneList 'Deep copy 'This part doesn't work-since the actual list object hasn't been cloned, I'm guessing that it's just c ...Show All

  • SQL Server How create named set across dimensions...

    If I want to create a named set for a set of "accounts" that limits the accounts to a subset based on two other dimensions, how do I do it I tried... CREATE SET [Accounts Created in Last 30 Days from NorthEast] AS { ([Accounts].[Account].Members, [Sales Region].&[NorthEast], [Date Account Created].[Is Last 30 Days].&[True] ) And it returned the right set of subset of accounts, but I ran into two problems: 1) in addition to the account column showing up in query results, it returned the [Sales Region] and [Date Account Created] columns, which in retrospect makes sense because the "dimensionality" of the set includes all three dimensions. and because of this, 2) when I try to use the set in Excel ...Show All

©2008 Software Development Network